pub trait ToCylindrical {
type Cylindrical: CoordinatePrimitive;
// Required method
fn to_cylindrical(&self) -> Self::Cylindrical;
}Expand description
Converts a value into a cylindrical representation.
Required Associated Types§
Sourcetype Cylindrical: CoordinatePrimitive
type Cylindrical: CoordinatePrimitive
Cylindrical result type.
Required Methods§
Sourcefn to_cylindrical(&self) -> Self::Cylindrical
fn to_cylindrical(&self) -> Self::Cylindrical
Returns the cylindrical representation of self.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".