Trait IntoAngle

Source
pub trait IntoAngle<To>
where To: Angle<Scalar = Self::OutputScalar>,
{ type OutputScalar: Float; // Required method 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§

Required Methods§

Source

fn into_angle(self) -> To

Construct an angle from self.

Implementors§

Source§

impl<T, U> IntoAngle<U> for T
where U: Angle<Scalar = T::Scalar> + FromAngle<T>, T: Angle,