sity::angle

Trait AngleFactory

Source
pub trait AngleFactory: Number {
    // Required methods
    fn asin(&self) -> Radian<<Self as HasValue>::Output>;
    fn acos(&self) -> Radian<<Self as HasValue>::Output>;
    fn atan(&self) -> Radian<<Self as HasValue>::Output>;
    fn atan2(&self, y: Self) -> Radian<<Self as HasValue>::Output>;
}

Required Methods§

Source

fn asin(&self) -> Radian<<Self as HasValue>::Output>

Source

fn acos(&self) -> Radian<<Self as HasValue>::Output>

Source

fn atan(&self) -> Radian<<Self as HasValue>::Output>

Source

fn atan2(&self, y: Self) -> Radian<<Self as HasValue>::Output>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AngleFactory for f32

Source§

fn asin(&self) -> Radian<Self>

Source§

fn acos(&self) -> Radian<Self>

Source§

fn atan(&self) -> Radian<Self>

Source§

fn atan2(&self, x: Self) -> Radian<Self>

Source§

impl AngleFactory for f64

Source§

fn asin(&self) -> Radian<Self>

Source§

fn acos(&self) -> Radian<Self>

Source§

fn atan(&self) -> Radian<Self>

Source§

fn atan2(&self, x: Self) -> Radian<Self>

Implementors§

Source§

impl<T, Length, Mass, Time, Current, Temperature> AngleFactory for Qt<T, Length, Mass, Time, Current, Temperature>
where T: Number + AngleFactory + HasValue<Output = T>, Length: ScaleFactor, Mass: ScaleFactor, Time: ScaleFactor, Current: ScaleFactor, Temperature: ScaleFactor,