Struct RadianAngle

Source
pub struct RadianAngle<T>(pub T);
Expand description

An angle in radians

Tuple Fields§

§0: T

Trait Implementations§

Source§

impl Add<DegreeAngle<f32>> for RadianAngle<f32>

Source§

type Output = DegreeAngle<f32>

The resulting type after applying the + operator.
Source§

fn add(self, other: DegreeAngle<f32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<DegreeAngle<f64>> for RadianAngle<f64>

Source§

type Output = DegreeAngle<f64>

The resulting type after applying the + operator.
Source§

fn add(self, other: DegreeAngle<f64>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<RadianAngle<f32>> for DegreeAngle<f32>

Source§

type Output = RadianAngle<f32>

The resulting type after applying the + operator.
Source§

fn add(self, other: RadianAngle<f32>) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<RadianAngle<f64>> for DegreeAngle<f64>

Source§

type Output = RadianAngle<f64>

The resulting type after applying the + operator.
Source§

fn add(self, other: RadianAngle<f64>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T> Add for RadianAngle<T>
where T: Into<T> + Add<Output = T>,

Source§

type Output = RadianAngle<T>

The resulting type after applying the + operator.
Source§

fn add(self, other: RadianAngle<T>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T: Debug> Debug for RadianAngle<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Div<DegreeAngle<f32>> for RadianAngle<f32>

Source§

type Output = DegreeAngle<f32>

The resulting type after applying the / operator.
Source§

fn div(self, other: DegreeAngle<f32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<RadianAngle<f32>> for DegreeAngle<f32>

Source§

type Output = RadianAngle<f32>

The resulting type after applying the / operator.
Source§

fn div(self, other: RadianAngle<f32>) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<RadianAngle<f64>> for DegreeAngle<f64>

Source§

type Output = RadianAngle<f64>

The resulting type after applying the / operator.
Source§

fn div(self, other: RadianAngle<f64>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div for RadianAngle<T>
where T: Into<T> + Div<Output = T>,

Source§

type Output = RadianAngle<T>

The resulting type after applying the / operator.
Source§

fn div(self, other: RadianAngle<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl IntoDeg<f32> for RadianAngle<f32>

Source§

fn into_deg(&self) -> f32

Source§

impl IntoDeg<f64> for RadianAngle<f64>

Source§

fn into_deg(&self) -> f64

Source§

impl IntoRad<f32> for RadianAngle<f32>

Source§

fn into_rad(&self) -> f32

Source§

impl IntoRad<f64> for RadianAngle<f64>

Source§

fn into_rad(&self) -> f64

Source§

impl Mul<DegreeAngle<f32>> for RadianAngle<f32>

Source§

type Output = DegreeAngle<f32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: DegreeAngle<f32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<DegreeAngle<f64>> for RadianAngle<f64>

Source§

type Output = DegreeAngle<f64>

The resulting type after applying the * operator.
Source§

fn mul(self, other: DegreeAngle<f64>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<RadianAngle<f32>> for DegreeAngle<f32>

Source§

type Output = RadianAngle<f32>

The resulting type after applying the * operator.
Source§

fn mul(self, other: RadianAngle<f32>) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<RadianAngle<f64>> for DegreeAngle<f64>

Source§

type Output = RadianAngle<f64>

The resulting type after applying the * operator.
Source§

fn mul(self, other: RadianAngle<f64>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul for RadianAngle<T>
where T: Into<T> + Mul<Output = T>,

Source§

type Output = RadianAngle<T>

The resulting type after applying the * operator.
Source§

fn mul(self, other: RadianAngle<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl PartialEq<DegreeAngle<f32>> for RadianAngle<f32>

Source§

fn eq(&self, other: &DegreeAngle<f32>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<DegreeAngle<f64>> for RadianAngle<f64>

Source§

fn eq(&self, other: &DegreeAngle<f64>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<RadianAngle<f32>> for DegreeAngle<f32>

Source§

fn eq(&self, other: &RadianAngle<f32>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<RadianAngle<f64>> for DegreeAngle<f64>

Source§

fn eq(&self, other: &RadianAngle<f64>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: PartialEq> PartialEq for RadianAngle<T>

Source§

fn eq(&self, other: &RadianAngle<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Sub<DegreeAngle<f32>> for RadianAngle<f32>

Source§

type Output = DegreeAngle<f32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: DegreeAngle<f32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<DegreeAngle<f64>> for RadianAngle<f64>

Source§

type Output = DegreeAngle<f64>

The resulting type after applying the - operator.
Source§

fn sub(self, other: DegreeAngle<f64>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<RadianAngle<f32>> for DegreeAngle<f32>

Source§

type Output = RadianAngle<f32>

The resulting type after applying the - operator.
Source§

fn sub(self, other: RadianAngle<f32>) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<RadianAngle<f64>> for DegreeAngle<f64>

Source§

type Output = RadianAngle<f64>

The resulting type after applying the - operator.
Source§

fn sub(self, other: RadianAngle<f64>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T> Sub for RadianAngle<T>
where T: Into<T> + Sub<Output = T>,

Source§

type Output = RadianAngle<T>

The resulting type after applying the - operator.
Source§

fn sub(self, other: RadianAngle<T>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T> StructuralPartialEq for RadianAngle<T>

Auto Trait Implementations§

§

impl<T> Freeze for RadianAngle<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for RadianAngle<T>
where T: RefUnwindSafe,

§

impl<T> Send for RadianAngle<T>
where T: Send,

§

impl<T> Sync for RadianAngle<T>
where T: Sync,

§

impl<T> Unpin for RadianAngle<T>
where T: Unpin,

§

impl<T> UnwindSafe for RadianAngle<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.