Struct truck_rendimpl::polymesh::Deg [−]
An angle, in degrees.
This type is marked as #[repr(C)]
.
Trait Implementations
impl<S> AbsDiffEq<Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Epsilon = <S as AbsDiffEq<S>>::Epsilon
Used for specifying relative comparisons.
pub fn default_epsilon() -> <S as AbsDiffEq<S>>::Epsilon
pub fn abs_diff_eq(
&self,
other: &Deg<S>,
epsilon: <S as AbsDiffEq<S>>::Epsilon
) -> bool
&self,
other: &Deg<S>,
epsilon: <S as AbsDiffEq<S>>::Epsilon
) -> bool
pub fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
impl<'a, S> Add<&'a Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the +
operator.
pub fn add(self, other: &'a Deg<S>) -> Deg<S>
impl<'a, 'b, S> Add<&'a Deg<S>> for &'b Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the +
operator.
pub fn add(self, other: &'a Deg<S>) -> Deg<S>
impl<S> Add<Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the +
operator.
pub fn add(self, other: Deg<S>) -> Deg<S>
impl<'a, S> Add<Deg<S>> for &'a Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the +
operator.
pub fn add(self, other: Deg<S>) -> Deg<S>
impl<S> AddAssign<Deg<S>> for Deg<S> where
S: BaseFloat + AddAssign<S>,
S: BaseFloat + AddAssign<S>,
pub fn add_assign(&mut self, other: Deg<S>)
impl<S> Angle for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Unitless = S
pub fn full_turn() -> Deg<S>
pub fn sin(self) -> S
pub fn cos(self) -> S
pub fn tan(self) -> S
pub fn sin_cos(self) -> (S, S)
pub fn asin(a: S) -> Deg<S>
pub fn acos(a: S) -> Deg<S>
pub fn atan(a: S) -> Deg<S>
pub fn atan2(a: S, b: S) -> Deg<S>
pub fn normalize(self) -> Self
pub fn normalize_signed(self) -> Self
pub fn opposite(self) -> Self
pub fn bisect(self, other: Self) -> Self
pub fn turn_div_2() -> Self
pub fn turn_div_3() -> Self
pub fn turn_div_4() -> Self
pub fn turn_div_6() -> Self
pub fn csc(self) -> Self::Unitless
pub fn cot(self) -> Self::Unitless
pub fn sec(self) -> Self::Unitless
impl<S> Bounded for Deg<S> where
S: Bounded,
S: Bounded,
impl<S> Clone for Deg<S> where
S: Clone,
S: Clone,
pub fn clone(&self) -> Deg<S>
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S> Copy for Deg<S> where
S: Copy,
S: Copy,
impl<S> Debug for Deg<S> where
S: Debug,
S: Debug,
impl<'a, 'b, S> Div<&'a Deg<S>> for &'b Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = S
The resulting type after applying the /
operator.
pub fn div(self, other: &'a Deg<S>) -> S
impl<'a, S> Div<&'a Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = S
The resulting type after applying the /
operator.
pub fn div(self, other: &'a Deg<S>) -> S
impl<S> Div<Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = S
The resulting type after applying the /
operator.
pub fn div(self, other: Deg<S>) -> S
impl<'a, S> Div<Deg<S>> for &'a Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = S
The resulting type after applying the /
operator.
pub fn div(self, other: Deg<S>) -> S
impl<'a, S> Div<S> for &'a Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the /
operator.
pub fn div(self, other: S) -> Deg<S>
impl<S> Div<S> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the /
operator.
pub fn div(self, other: S) -> Deg<S>
impl<S> DivAssign<S> for Deg<S> where
S: BaseFloat + DivAssign<S>,
S: BaseFloat + DivAssign<S>,
pub fn div_assign(&mut self, scalar: S)
impl<S> From<Deg<S>> for Rad<S> where
S: BaseFloat,
S: BaseFloat,
impl<S> From<Rad<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
impl<S> Mul<S> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the *
operator.
pub fn mul(self, other: S) -> Deg<S>
impl<'a, S> Mul<S> for &'a Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the *
operator.
pub fn mul(self, other: S) -> Deg<S>
impl<S> MulAssign<S> for Deg<S> where
S: BaseFloat + MulAssign<S>,
S: BaseFloat + MulAssign<S>,
pub fn mul_assign(&mut self, scalar: S)
impl<'a, S> Neg for &'a Deg<S> where
S: BaseFloat,
S: BaseFloat,
impl<S> Neg for Deg<S> where
S: BaseFloat,
S: BaseFloat,
impl<S> PartialEq<Deg<S>> for Deg<S> where
S: PartialEq<S>,
S: PartialEq<S>,
impl<S> PartialOrd<Deg<S>> for Deg<S> where
S: PartialOrd<S>,
S: PartialOrd<S>,
pub fn partial_cmp(&self, other: &Deg<S>) -> Option<Ordering>
pub fn lt(&self, other: &Deg<S>) -> bool
pub fn le(&self, other: &Deg<S>) -> bool
pub fn gt(&self, other: &Deg<S>) -> bool
pub fn ge(&self, other: &Deg<S>) -> bool
impl<S> RelativeEq<Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
pub fn default_max_relative() -> <S as AbsDiffEq<S>>::Epsilon
pub fn relative_eq(
&self,
other: &Deg<S>,
epsilon: <S as AbsDiffEq<S>>::Epsilon,
max_relative: <S as AbsDiffEq<S>>::Epsilon
) -> bool
&self,
other: &Deg<S>,
epsilon: <S as AbsDiffEq<S>>::Epsilon,
max_relative: <S as AbsDiffEq<S>>::Epsilon
) -> bool
pub fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
impl<'a, 'b, S> Rem<&'a Deg<S>> for &'b Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the %
operator.
pub fn rem(self, other: &'a Deg<S>) -> Deg<S>
impl<'a, S> Rem<&'a Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the %
operator.
pub fn rem(self, other: &'a Deg<S>) -> Deg<S>
impl<'a, S> Rem<Deg<S>> for &'a Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the %
operator.
pub fn rem(self, other: Deg<S>) -> Deg<S>
impl<S> Rem<Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the %
operator.
pub fn rem(self, other: Deg<S>) -> Deg<S>
impl<S> RemAssign<Deg<S>> for Deg<S> where
S: BaseFloat + RemAssign<S>,
S: BaseFloat + RemAssign<S>,
pub fn rem_assign(&mut self, other: Deg<S>)
impl<S> StructuralPartialEq for Deg<S>
impl<'a, 'b, S> Sub<&'a Deg<S>> for &'b Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the -
operator.
pub fn sub(self, other: &'a Deg<S>) -> Deg<S>
impl<'a, S> Sub<&'a Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the -
operator.
pub fn sub(self, other: &'a Deg<S>) -> Deg<S>
impl<S> Sub<Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the -
operator.
pub fn sub(self, other: Deg<S>) -> Deg<S>
impl<'a, S> Sub<Deg<S>> for &'a Deg<S> where
S: BaseFloat,
S: BaseFloat,
type Output = Deg<S>
The resulting type after applying the -
operator.
pub fn sub(self, other: Deg<S>) -> Deg<S>
impl<S> SubAssign<Deg<S>> for Deg<S> where
S: BaseFloat + SubAssign<S>,
S: BaseFloat + SubAssign<S>,
pub fn sub_assign(&mut self, other: Deg<S>)
impl<'a, S> Sum<&'a Deg<S>> for Deg<S> where
S: 'a + BaseFloat,
S: 'a + BaseFloat,
impl<S> Sum<Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
impl<S> UlpsEq<Deg<S>> for Deg<S> where
S: BaseFloat,
S: BaseFloat,
pub fn default_max_ulps() -> u32
pub fn ulps_eq(
&self,
other: &Deg<S>,
epsilon: <S as AbsDiffEq<S>>::Epsilon,
max_ulps: u32
) -> bool
&self,
other: &Deg<S>,
epsilon: <S as AbsDiffEq<S>>::Epsilon,
max_ulps: u32
) -> bool
pub fn ulps_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_ulps: u32
) -> bool
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_ulps: u32
) -> bool
impl<S> Zero for Deg<S> where
S: BaseFloat,
S: BaseFloat,
Auto Trait Implementations
impl<S> RefUnwindSafe for Deg<S> where
S: RefUnwindSafe,
[src]
S: RefUnwindSafe,
impl<S> Send for Deg<S> where
S: Send,
[src]
S: Send,
impl<S> Sync for Deg<S> where
S: Sync,
[src]
S: Sync,
impl<S> Unpin for Deg<S> where
S: Unpin,
[src]
S: Unpin,
impl<S> UnwindSafe for Deg<S> where
S: UnwindSafe,
[src]
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, Rhs> NumAssignOps<Rhs> for T where
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
[src]
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,