Trait angular_units::FromAngle
source · pub trait FromAngle<T>where
T: Angle,{
fn from_angle(from: T) -> Self;
}
Expand description
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§
sourcefn from_angle(from: T) -> Self
fn from_angle(from: T) -> Self
Construct Self
by converting a T
.