Skip to main content

DimensionMapper

Trait DimensionMapper 

Source
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§

Source

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".

Implementors§