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§
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)>>
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.