#[repr(transparent)]pub struct Radians<T>(pub T);Expand description
An angle represented in radians.
Tuple Fields§
§0: TImplementations§
Source§impl<T: Copy + AbsDiffEq<Epsilon = T>> Radians<T>
impl<T: Copy + AbsDiffEq<Epsilon = T>> Radians<T>
Sourcepub fn abs_diff_eq(&self, other: &Self) -> bool
pub fn abs_diff_eq(&self, other: &Self) -> bool
Returns true if the two values are approximately equal according to the absolute difference between their components.
Source§impl<T: Copy + RelativeEq<Epsilon = T>> Radians<T>
impl<T: Copy + RelativeEq<Epsilon = T>> Radians<T>
Sourcepub fn relative_eq(&self, other: &Self) -> bool
pub fn relative_eq(&self, other: &Self) -> bool
Returns true if the two values are approximately equal according to the absolute difference between their components, as well as relative-based comparisons.
Source§impl<T: Float> Radians<T>
impl<T: Float> Radians<T>
Sourcepub fn from_radians(value: Radians<T>) -> Self
pub fn from_radians(value: Radians<T>) -> Self
Convert from radians.
Sourcepub fn from_degrees(value: Degrees<T>) -> Self
pub fn from_degrees(value: Degrees<T>) -> Self
Convert from degrees.
Sourcepub fn from_rotations(value: Rotations<T>) -> Self
pub fn from_rotations(value: Rotations<T>) -> Self
Convert from rotations.
Sourcepub fn from_cardinal(value: Cardinal) -> Self
pub fn from_cardinal(value: Cardinal) -> Self
Convert from a cardinal direction.
Sourcepub fn from_octal(value: Octal) -> Self
pub fn from_octal(value: Octal) -> Self
Convert from an octal direction.
Trait Implementations§
Source§impl<T> AbsDiffEq for Radians<T>
impl<T> AbsDiffEq for Radians<T>
Source§fn default_epsilon() -> Self::Epsilon
fn default_epsilon() -> Self::Epsilon
The default tolerance to use when testing values that are close together. Read more
Source§fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
A test for equality that uses the absolute difference to compute the approximate
equality of two numbers.
Source§fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
The inverse of
AbsDiffEq::abs_diff_eq.Source§impl<T: Float> AddAssign<&Degrees<T>> for Radians<T>
impl<T: Float> AddAssign<&Degrees<T>> for Radians<T>
Source§fn add_assign(&mut self, rhs: &Degrees<T>)
fn add_assign(&mut self, rhs: &Degrees<T>)
Performs the
+= operation. Read moreSource§impl<T: Float> AddAssign<&Radians<T>> for Degrees<T>
impl<T: Float> AddAssign<&Radians<T>> for Degrees<T>
Source§fn add_assign(&mut self, rhs: &Radians<T>)
fn add_assign(&mut self, rhs: &Radians<T>)
Performs the
+= operation. Read moreSource§impl<T: Float> AddAssign<&Radians<T>> for Radians<T>
impl<T: Float> AddAssign<&Radians<T>> for Radians<T>
Source§fn add_assign(&mut self, rhs: &Radians<T>)
fn add_assign(&mut self, rhs: &Radians<T>)
Performs the
+= operation. Read moreSource§impl<T: Float> AddAssign<&Radians<T>> for Rotations<T>
impl<T: Float> AddAssign<&Radians<T>> for Rotations<T>
Source§fn add_assign(&mut self, rhs: &Radians<T>)
fn add_assign(&mut self, rhs: &Radians<T>)
Performs the
+= operation. Read moreSource§impl<T: Float> AddAssign<&Rotations<T>> for Radians<T>
impl<T: Float> AddAssign<&Rotations<T>> for Radians<T>
Source§fn add_assign(&mut self, rhs: &Rotations<T>)
fn add_assign(&mut self, rhs: &Rotations<T>)
Performs the
+= operation. Read moreSource§impl<T: Copy + AddAssign<T>> AddAssign<&T> for Radians<T>
impl<T: Copy + AddAssign<T>> AddAssign<&T> for Radians<T>
Source§fn add_assign(&mut self, rhs: &T)
fn add_assign(&mut self, rhs: &T)
Performs the
+= operation. Read moreSource§impl<T: Float> AddAssign<Degrees<T>> for Radians<T>
impl<T: Float> AddAssign<Degrees<T>> for Radians<T>
Source§fn add_assign(&mut self, rhs: Degrees<T>)
fn add_assign(&mut self, rhs: Degrees<T>)
Performs the
+= operation. Read moreSource§impl<T: Float> AddAssign<Radians<T>> for Degrees<T>
impl<T: Float> AddAssign<Radians<T>> for Degrees<T>
Source§fn add_assign(&mut self, rhs: Radians<T>)
fn add_assign(&mut self, rhs: Radians<T>)
Performs the
+= operation. Read moreSource§impl<T: Float> AddAssign<Radians<T>> for Rotations<T>
impl<T: Float> AddAssign<Radians<T>> for Rotations<T>
Source§fn add_assign(&mut self, rhs: Radians<T>)
fn add_assign(&mut self, rhs: Radians<T>)
Performs the
+= operation. Read moreSource§impl<T: Float> AddAssign<Rotations<T>> for Radians<T>
impl<T: Float> AddAssign<Rotations<T>> for Radians<T>
Source§fn add_assign(&mut self, rhs: Rotations<T>)
fn add_assign(&mut self, rhs: Rotations<T>)
Performs the
+= operation. Read moreSource§impl<T: Copy + AddAssign<T>> AddAssign<T> for Radians<T>
impl<T: Copy + AddAssign<T>> AddAssign<T> for Radians<T>
Source§fn add_assign(&mut self, rhs: T)
fn add_assign(&mut self, rhs: T)
Performs the
+= operation. Read moreSource§impl<T: Float> AddAssign for Radians<T>
impl<T: Float> AddAssign for Radians<T>
Source§fn add_assign(&mut self, rhs: Radians<T>)
fn add_assign(&mut self, rhs: Radians<T>)
Performs the
+= operation. Read moreSource§impl<'de, T> Deserialize<'de> for Radians<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Radians<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T: Float> Direction<T> for Radians<T>
impl<T: Float> Direction<T> for Radians<T>
Source§fn to_degrees(self) -> Degrees<T>
fn to_degrees(self) -> Degrees<T>
Angle of the direction in degrees.
Source§fn to_radians(self) -> Radians<T>
fn to_radians(self) -> Radians<T>
Angle of the direction in radians.
Source§fn to_rotations(self) -> Rotations<T>
fn to_rotations(self) -> Rotations<T>
Angle of the direction in rotations.
Source§impl<T: Float> DivAssign<&Degrees<T>> for Radians<T>
impl<T: Float> DivAssign<&Degrees<T>> for Radians<T>
Source§fn div_assign(&mut self, rhs: &Degrees<T>)
fn div_assign(&mut self, rhs: &Degrees<T>)
Performs the
/= operation. Read moreSource§impl<T: Float> DivAssign<&Radians<T>> for Degrees<T>
impl<T: Float> DivAssign<&Radians<T>> for Degrees<T>
Source§fn div_assign(&mut self, rhs: &Radians<T>)
fn div_assign(&mut self, rhs: &Radians<T>)
Performs the
/= operation. Read moreSource§impl<T: Float> DivAssign<&Radians<T>> for Radians<T>
impl<T: Float> DivAssign<&Radians<T>> for Radians<T>
Source§fn div_assign(&mut self, rhs: &Radians<T>)
fn div_assign(&mut self, rhs: &Radians<T>)
Performs the
/= operation. Read moreSource§impl<T: Float> DivAssign<&Radians<T>> for Rotations<T>
impl<T: Float> DivAssign<&Radians<T>> for Rotations<T>
Source§fn div_assign(&mut self, rhs: &Radians<T>)
fn div_assign(&mut self, rhs: &Radians<T>)
Performs the
/= operation. Read moreSource§impl<T: Float> DivAssign<&Rotations<T>> for Radians<T>
impl<T: Float> DivAssign<&Rotations<T>> for Radians<T>
Source§fn div_assign(&mut self, rhs: &Rotations<T>)
fn div_assign(&mut self, rhs: &Rotations<T>)
Performs the
/= operation. Read moreSource§impl<T: Copy + DivAssign<T>> DivAssign<&T> for Radians<T>
impl<T: Copy + DivAssign<T>> DivAssign<&T> for Radians<T>
Source§fn div_assign(&mut self, rhs: &T)
fn div_assign(&mut self, rhs: &T)
Performs the
/= operation. Read moreSource§impl<T: Float> DivAssign<Degrees<T>> for Radians<T>
impl<T: Float> DivAssign<Degrees<T>> for Radians<T>
Source§fn div_assign(&mut self, rhs: Degrees<T>)
fn div_assign(&mut self, rhs: Degrees<T>)
Performs the
/= operation. Read moreSource§impl<T: Float> DivAssign<Radians<T>> for Degrees<T>
impl<T: Float> DivAssign<Radians<T>> for Degrees<T>
Source§fn div_assign(&mut self, rhs: Radians<T>)
fn div_assign(&mut self, rhs: Radians<T>)
Performs the
/= operation. Read moreSource§impl<T: Float> DivAssign<Radians<T>> for Rotations<T>
impl<T: Float> DivAssign<Radians<T>> for Rotations<T>
Source§fn div_assign(&mut self, rhs: Radians<T>)
fn div_assign(&mut self, rhs: Radians<T>)
Performs the
/= operation. Read moreSource§impl<T: Float> DivAssign<Rotations<T>> for Radians<T>
impl<T: Float> DivAssign<Rotations<T>> for Radians<T>
Source§fn div_assign(&mut self, rhs: Rotations<T>)
fn div_assign(&mut self, rhs: Rotations<T>)
Performs the
/= operation. Read moreSource§impl<T: Copy + DivAssign<T>> DivAssign<T> for Radians<T>
impl<T: Copy + DivAssign<T>> DivAssign<T> for Radians<T>
Source§fn div_assign(&mut self, rhs: T)
fn div_assign(&mut self, rhs: T)
Performs the
/= operation. Read moreSource§impl<T: Float> DivAssign for Radians<T>
impl<T: Float> DivAssign for Radians<T>
Source§fn div_assign(&mut self, rhs: Radians<T>)
fn div_assign(&mut self, rhs: Radians<T>)
Performs the
/= operation. Read moreSource§impl<T: Float> MulAssign<&Degrees<T>> for Radians<T>
impl<T: Float> MulAssign<&Degrees<T>> for Radians<T>
Source§fn mul_assign(&mut self, rhs: &Degrees<T>)
fn mul_assign(&mut self, rhs: &Degrees<T>)
Performs the
*= operation. Read moreSource§impl<T: Float> MulAssign<&Radians<T>> for Degrees<T>
impl<T: Float> MulAssign<&Radians<T>> for Degrees<T>
Source§fn mul_assign(&mut self, rhs: &Radians<T>)
fn mul_assign(&mut self, rhs: &Radians<T>)
Performs the
*= operation. Read moreSource§impl<T: Float> MulAssign<&Radians<T>> for Radians<T>
impl<T: Float> MulAssign<&Radians<T>> for Radians<T>
Source§fn mul_assign(&mut self, rhs: &Radians<T>)
fn mul_assign(&mut self, rhs: &Radians<T>)
Performs the
*= operation. Read moreSource§impl<T: Float> MulAssign<&Radians<T>> for Rotations<T>
impl<T: Float> MulAssign<&Radians<T>> for Rotations<T>
Source§fn mul_assign(&mut self, rhs: &Radians<T>)
fn mul_assign(&mut self, rhs: &Radians<T>)
Performs the
*= operation. Read moreSource§impl<T: Float> MulAssign<&Rotations<T>> for Radians<T>
impl<T: Float> MulAssign<&Rotations<T>> for Radians<T>
Source§fn mul_assign(&mut self, rhs: &Rotations<T>)
fn mul_assign(&mut self, rhs: &Rotations<T>)
Performs the
*= operation. Read moreSource§impl<T: Copy + MulAssign<T>> MulAssign<&T> for Radians<T>
impl<T: Copy + MulAssign<T>> MulAssign<&T> for Radians<T>
Source§fn mul_assign(&mut self, rhs: &T)
fn mul_assign(&mut self, rhs: &T)
Performs the
*= operation. Read moreSource§impl<T: Float> MulAssign<Degrees<T>> for Radians<T>
impl<T: Float> MulAssign<Degrees<T>> for Radians<T>
Source§fn mul_assign(&mut self, rhs: Degrees<T>)
fn mul_assign(&mut self, rhs: Degrees<T>)
Performs the
*= operation. Read moreSource§impl<T: Float> MulAssign<Radians<T>> for Degrees<T>
impl<T: Float> MulAssign<Radians<T>> for Degrees<T>
Source§fn mul_assign(&mut self, rhs: Radians<T>)
fn mul_assign(&mut self, rhs: Radians<T>)
Performs the
*= operation. Read moreSource§impl<T: Float> MulAssign<Radians<T>> for Rotations<T>
impl<T: Float> MulAssign<Radians<T>> for Rotations<T>
Source§fn mul_assign(&mut self, rhs: Radians<T>)
fn mul_assign(&mut self, rhs: Radians<T>)
Performs the
*= operation. Read moreSource§impl<T: Float> MulAssign<Rotations<T>> for Radians<T>
impl<T: Float> MulAssign<Rotations<T>> for Radians<T>
Source§fn mul_assign(&mut self, rhs: Rotations<T>)
fn mul_assign(&mut self, rhs: Rotations<T>)
Performs the
*= operation. Read moreSource§impl<T: Copy + MulAssign<T>> MulAssign<T> for Radians<T>
impl<T: Copy + MulAssign<T>> MulAssign<T> for Radians<T>
Source§fn mul_assign(&mut self, rhs: T)
fn mul_assign(&mut self, rhs: T)
Performs the
*= operation. Read moreSource§impl<T: Float> MulAssign for Radians<T>
impl<T: Float> MulAssign for Radians<T>
Source§fn mul_assign(&mut self, rhs: Radians<T>)
fn mul_assign(&mut self, rhs: Radians<T>)
Performs the
*= operation. Read moreSource§impl<T: Numeric<AsU8 = u8, AsU16 = u16, AsU32 = u32, AsU64 = u64, AsU128 = u128, AsUSize = usize, AsI8 = i8, AsI16 = i16, AsI32 = i32, AsI64 = i64, AsI128 = i128, AsISize = isize, AsF32 = f32, AsF64 = f64>> Numeric for Radians<T>
impl<T: Numeric<AsU8 = u8, AsU16 = u16, AsU32 = u32, AsU64 = u64, AsU128 = u128, AsUSize = usize, AsI8 = i8, AsI16 = i16, AsI32 = i32, AsI64 = i64, AsI128 = i128, AsISize = isize, AsF32 = f32, AsF64 = f64>> Numeric for Radians<T>
type AsU8 = Radians<u8>
type AsU16 = Radians<u16>
type AsU32 = Radians<u32>
type AsU64 = Radians<u64>
type AsU128 = Radians<u128>
type AsUSize = Radians<usize>
type AsI8 = Radians<i8>
type AsI16 = Radians<i16>
type AsI32 = Radians<i32>
type AsI64 = Radians<i64>
type AsI128 = Radians<i128>
type AsISize = Radians<isize>
type AsF32 = Radians<f32>
type AsF64 = Radians<f64>
fn to_u8(self) -> Radians<u8>
fn to_u16(self) -> Radians<u16>
fn to_u32(self) -> Radians<u32>
fn to_u64(self) -> Radians<u64>
fn to_u128(self) -> Radians<u128>
fn to_usize(self) -> Radians<usize>
fn to_i8(self) -> Radians<i8>
fn to_i16(self) -> Radians<i16>
fn to_i32(self) -> Radians<i32>
fn to_i64(self) -> Radians<i64>
fn to_i128(self) -> Radians<i128>
fn to_isize(self) -> Radians<isize>
fn to_f32(self) -> Radians<f32>
fn to_f64(self) -> Radians<f64>
Source§impl<T: Ord> Ord for Radians<T>
impl<T: Ord> Ord for Radians<T>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd> PartialOrd for Radians<T>
impl<T: PartialOrd> PartialOrd for Radians<T>
Source§impl<T> RelativeEq for Radians<T>
impl<T> RelativeEq for Radians<T>
Source§fn default_max_relative() -> Self::Epsilon
fn default_max_relative() -> Self::Epsilon
The default relative tolerance for testing values that are far-apart. Read more
Source§fn relative_eq(
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon,
) -> bool
fn relative_eq( &self, other: &Self, epsilon: Self::Epsilon, max_relative: Self::Epsilon, ) -> bool
A test for equality that uses a relative comparison if the values are far apart.
Source§fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon,
) -> bool
fn relative_ne( &self, other: &Rhs, epsilon: Self::Epsilon, max_relative: Self::Epsilon, ) -> bool
The inverse of
RelativeEq::relative_eq.Source§impl<T: Float> RemAssign<&Degrees<T>> for Radians<T>
impl<T: Float> RemAssign<&Degrees<T>> for Radians<T>
Source§fn rem_assign(&mut self, rhs: &Degrees<T>)
fn rem_assign(&mut self, rhs: &Degrees<T>)
Performs the
%= operation. Read moreSource§impl<T: Float> RemAssign<&Radians<T>> for Degrees<T>
impl<T: Float> RemAssign<&Radians<T>> for Degrees<T>
Source§fn rem_assign(&mut self, rhs: &Radians<T>)
fn rem_assign(&mut self, rhs: &Radians<T>)
Performs the
%= operation. Read moreSource§impl<T: Float> RemAssign<&Radians<T>> for Radians<T>
impl<T: Float> RemAssign<&Radians<T>> for Radians<T>
Source§fn rem_assign(&mut self, rhs: &Radians<T>)
fn rem_assign(&mut self, rhs: &Radians<T>)
Performs the
%= operation. Read moreSource§impl<T: Float> RemAssign<&Radians<T>> for Rotations<T>
impl<T: Float> RemAssign<&Radians<T>> for Rotations<T>
Source§fn rem_assign(&mut self, rhs: &Radians<T>)
fn rem_assign(&mut self, rhs: &Radians<T>)
Performs the
%= operation. Read moreSource§impl<T: Float> RemAssign<&Rotations<T>> for Radians<T>
impl<T: Float> RemAssign<&Rotations<T>> for Radians<T>
Source§fn rem_assign(&mut self, rhs: &Rotations<T>)
fn rem_assign(&mut self, rhs: &Rotations<T>)
Performs the
%= operation. Read moreSource§impl<T: Copy + RemAssign<T>> RemAssign<&T> for Radians<T>
impl<T: Copy + RemAssign<T>> RemAssign<&T> for Radians<T>
Source§fn rem_assign(&mut self, rhs: &T)
fn rem_assign(&mut self, rhs: &T)
Performs the
%= operation. Read moreSource§impl<T: Float> RemAssign<Degrees<T>> for Radians<T>
impl<T: Float> RemAssign<Degrees<T>> for Radians<T>
Source§fn rem_assign(&mut self, rhs: Degrees<T>)
fn rem_assign(&mut self, rhs: Degrees<T>)
Performs the
%= operation. Read moreSource§impl<T: Float> RemAssign<Radians<T>> for Degrees<T>
impl<T: Float> RemAssign<Radians<T>> for Degrees<T>
Source§fn rem_assign(&mut self, rhs: Radians<T>)
fn rem_assign(&mut self, rhs: Radians<T>)
Performs the
%= operation. Read moreSource§impl<T: Float> RemAssign<Radians<T>> for Rotations<T>
impl<T: Float> RemAssign<Radians<T>> for Rotations<T>
Source§fn rem_assign(&mut self, rhs: Radians<T>)
fn rem_assign(&mut self, rhs: Radians<T>)
Performs the
%= operation. Read moreSource§impl<T: Float> RemAssign<Rotations<T>> for Radians<T>
impl<T: Float> RemAssign<Rotations<T>> for Radians<T>
Source§fn rem_assign(&mut self, rhs: Rotations<T>)
fn rem_assign(&mut self, rhs: Rotations<T>)
Performs the
%= operation. Read moreSource§impl<T: Copy + RemAssign<T>> RemAssign<T> for Radians<T>
impl<T: Copy + RemAssign<T>> RemAssign<T> for Radians<T>
Source§fn rem_assign(&mut self, rhs: T)
fn rem_assign(&mut self, rhs: T)
Performs the
%= operation. Read moreSource§impl<T: Float> RemAssign for Radians<T>
impl<T: Float> RemAssign for Radians<T>
Source§fn rem_assign(&mut self, rhs: Radians<T>)
fn rem_assign(&mut self, rhs: Radians<T>)
Performs the
%= operation. Read moreSource§impl<T: Float> SubAssign<&Degrees<T>> for Radians<T>
impl<T: Float> SubAssign<&Degrees<T>> for Radians<T>
Source§fn sub_assign(&mut self, rhs: &Degrees<T>)
fn sub_assign(&mut self, rhs: &Degrees<T>)
Performs the
-= operation. Read moreSource§impl<T: Float> SubAssign<&Radians<T>> for Degrees<T>
impl<T: Float> SubAssign<&Radians<T>> for Degrees<T>
Source§fn sub_assign(&mut self, rhs: &Radians<T>)
fn sub_assign(&mut self, rhs: &Radians<T>)
Performs the
-= operation. Read moreSource§impl<T: Float> SubAssign<&Radians<T>> for Radians<T>
impl<T: Float> SubAssign<&Radians<T>> for Radians<T>
Source§fn sub_assign(&mut self, rhs: &Radians<T>)
fn sub_assign(&mut self, rhs: &Radians<T>)
Performs the
-= operation. Read moreSource§impl<T: Float> SubAssign<&Radians<T>> for Rotations<T>
impl<T: Float> SubAssign<&Radians<T>> for Rotations<T>
Source§fn sub_assign(&mut self, rhs: &Radians<T>)
fn sub_assign(&mut self, rhs: &Radians<T>)
Performs the
-= operation. Read moreSource§impl<T: Float> SubAssign<&Rotations<T>> for Radians<T>
impl<T: Float> SubAssign<&Rotations<T>> for Radians<T>
Source§fn sub_assign(&mut self, rhs: &Rotations<T>)
fn sub_assign(&mut self, rhs: &Rotations<T>)
Performs the
-= operation. Read moreSource§impl<T: Copy + SubAssign<T>> SubAssign<&T> for Radians<T>
impl<T: Copy + SubAssign<T>> SubAssign<&T> for Radians<T>
Source§fn sub_assign(&mut self, rhs: &T)
fn sub_assign(&mut self, rhs: &T)
Performs the
-= operation. Read moreSource§impl<T: Float> SubAssign<Degrees<T>> for Radians<T>
impl<T: Float> SubAssign<Degrees<T>> for Radians<T>
Source§fn sub_assign(&mut self, rhs: Degrees<T>)
fn sub_assign(&mut self, rhs: Degrees<T>)
Performs the
-= operation. Read moreSource§impl<T: Float> SubAssign<Radians<T>> for Degrees<T>
impl<T: Float> SubAssign<Radians<T>> for Degrees<T>
Source§fn sub_assign(&mut self, rhs: Radians<T>)
fn sub_assign(&mut self, rhs: Radians<T>)
Performs the
-= operation. Read moreSource§impl<T: Float> SubAssign<Radians<T>> for Rotations<T>
impl<T: Float> SubAssign<Radians<T>> for Rotations<T>
Source§fn sub_assign(&mut self, rhs: Radians<T>)
fn sub_assign(&mut self, rhs: Radians<T>)
Performs the
-= operation. Read moreSource§impl<T: Float> SubAssign<Rotations<T>> for Radians<T>
impl<T: Float> SubAssign<Rotations<T>> for Radians<T>
Source§fn sub_assign(&mut self, rhs: Rotations<T>)
fn sub_assign(&mut self, rhs: Rotations<T>)
Performs the
-= operation. Read moreSource§impl<T: Copy + SubAssign<T>> SubAssign<T> for Radians<T>
impl<T: Copy + SubAssign<T>> SubAssign<T> for Radians<T>
Source§fn sub_assign(&mut self, rhs: T)
fn sub_assign(&mut self, rhs: T)
Performs the
-= operation. Read moreSource§impl<T: Float> SubAssign for Radians<T>
impl<T: Float> SubAssign for Radians<T>
Source§fn sub_assign(&mut self, rhs: Radians<T>)
fn sub_assign(&mut self, rhs: Radians<T>)
Performs the
-= operation. Read moreSource§impl<T> UlpsEq for Radians<T>
impl<T> UlpsEq for Radians<T>
impl<T: Float> Angle<T> for Radians<T>
impl<T: Copy> Copy for Radians<T>
impl<T: Eq> Eq for Radians<T>
impl<T: Pod> Pod for Radians<T>
impl<T> StructuralPartialEq for Radians<T>
Auto Trait Implementations§
impl<T> Freeze for Radians<T>where
T: Freeze,
impl<T> RefUnwindSafe for Radians<T>where
T: RefUnwindSafe,
impl<T> Send for Radians<T>where
T: Send,
impl<T> Sync for Radians<T>where
T: Sync,
impl<T> Unpin for Radians<T>where
T: Unpin,
impl<T> UnwindSafe for Radians<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.