Skip to main content

ToCylindrical

Trait ToCylindrical 

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

Source

type Cylindrical: CoordinatePrimitive

Cylindrical result type.

Required Methods§

Source

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

Implementors§