Trait Detail_SphericalPortraitProjectorTrait

Source
pub trait Detail_SphericalPortraitProjectorTrait: Detail_ProjectorBaseTrait + Detail_SphericalPortraitProjectorTraitConst {
    // Required method
    fn as_raw_mut_Detail_SphericalPortraitProjector(&mut self) -> *mut c_void;

    // Provided methods
    fn map_forward(
        &mut self,
        x: f32,
        y: f32,
        u: &mut f32,
        v: &mut f32,
    ) -> Result<()> { ... }
    fn map_backward(
        &mut self,
        u: f32,
        v: f32,
        x: &mut f32,
        y: &mut f32,
    ) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn map_forward( &mut self, x: f32, y: f32, u: &mut f32, v: &mut f32, ) -> Result<()>

Source

fn map_backward( &mut self, u: f32, v: f32, x: &mut f32, y: &mut f32, ) -> Result<()>

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§