LocatedNode

Trait LocatedNode 

Source
pub trait LocatedNode: Node + Copy {
    // Provided methods
    fn world(self, gd: &GD) -> Result<Option<World>> { ... }
    fn coordinates(self, gd: &GD) -> Result<Option<(f64, f64)>> { ... }
    fn nodes_in_proximity(
        self,
        gd: &GD,
    ) -> Result<Vec<(AnyLocatedNode, Proximity)>> { ... }
    fn shared_facilities(self, gd: &GD) -> Result<Vec<AnyLocatedNode>> { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§