pub trait DimensionMapper: Send + Sync {
type Item;
// Required method
fn map(&self, item: &Self::Item) -> SphericalPoint;
}Expand description
Projects an item from its native representation to a position on S².
Required Associated Types§
Required Methods§
Sourcefn map(&self, item: &Self::Item) -> SphericalPoint
fn map(&self, item: &Self::Item) -> SphericalPoint
Maps item to a spherical position.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".