Skip to main content

ToCartesian

Trait ToCartesian 

Source
pub trait ToCartesian {
    type Cartesian: CoordinatePrimitive;

    // Required method
    fn to_cartesian(&self) -> Self::Cartesian;
}
Expand description

Converts a value into a Cartesian representation.

Required Associated Types§

Source

type Cartesian: CoordinatePrimitive

Cartesian result type.

Required Methods§

Source

fn to_cartesian(&self) -> Self::Cartesian

Returns the Cartesian representation of self.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§