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§
Sourcetype Cartesian: CoordinatePrimitive
type Cartesian: CoordinatePrimitive
Cartesian result type.
Required Methods§
Sourcefn to_cartesian(&self) -> Self::Cartesian
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".