IntoRadians

Trait IntoRadians 

Source
pub trait IntoRadians {
    // Required method
    fn into_radians(self) -> Self;
}
Expand description

This type can convert from degrees to radians

Required Methods§

Source

fn into_radians(self) -> Self

Consume self and return it after converting the internal elements from degrees to radians

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.

Implementors§

Source§

impl<T: Real + Pi> IntoRadians for T

Source§

impl<T: Real> IntoRadians for TVec3<T>

Source§

impl<T: Real> IntoRadians for TVec4<T>