Trait angular_units::IntoAngle
source · pub trait IntoAngle<To>where
To: Angle<Scalar = Self::OutputScalar>,{
type OutputScalar: Float;
fn into_angle(self) -> To;
}
Expand description
Construct an angle by converting from another type.
IntoAngle is provided automatically based on FromAngle.
Required Associated Types§
type OutputScalar: Float
Required Methods§
sourcefn into_angle(self) -> To
fn into_angle(self) -> To
Construct an angle from self
.