Trait angular_units::FromAngle [] [src]

pub trait FromAngle<T> where
    T: Angle
{ fn from_angle(from: T) -> Self; }

Construct Self from an angle.

Analogous to the traits in the standard library, FromAngle and IntoAngle provide a way to convert between angle types and to mix various angle types in a single operation.

Required Methods

Construct Self by converting a T.

Implementors