pub struct Angle(/* private fields */);Implementations§
Methods from Deref<Target = Angle>§
pub const HALF_TURN: Quantity<dyn Dimension<Kind = dyn AngleKind, I = Z0, M = Z0, Th = Z0, N = Z0, T = Z0, J = Z0, L = Z0>, dyn Units<f32, time = second, thermodynamic_temperature = kelvin, mass = kilogram, luminous_intensity = candela, amount_of_substance = mole, electric_current = ampere, length = meter>, f32>
pub const FULL_TURN: Quantity<dyn Dimension<Kind = dyn AngleKind, I = Z0, M = Z0, Th = Z0, N = Z0, T = Z0, J = Z0, L = Z0>, dyn Units<f32, time = second, thermodynamic_temperature = kelvin, mass = kilogram, luminous_intensity = candela, amount_of_substance = mole, electric_current = ampere, length = meter>, f32>
pub const HALF_TURN: Quantity<dyn Dimension<Kind = dyn AngleKind, I = Z0, M = Z0, Th = Z0, N = Z0, T = Z0, J = Z0, L = Z0>, dyn Units<f64, time = second, thermodynamic_temperature = kelvin, mass = kilogram, luminous_intensity = candela, amount_of_substance = mole, electric_current = ampere, length = meter>, f64>
pub const FULL_TURN: Quantity<dyn Dimension<Kind = dyn AngleKind, I = Z0, M = Z0, Th = Z0, N = Z0, T = Z0, J = Z0, L = Z0>, dyn Units<f64, time = second, thermodynamic_temperature = kelvin, mass = kilogram, luminous_intensity = candela, amount_of_substance = mole, electric_current = ampere, length = meter>, f64>
pub const SPHERE: Quantity<dyn Dimension<Kind = dyn SolidAngleKind, I = Z0, M = Z0, Th = Z0, N = Z0, T = Z0, J = Z0, L = Z0>, dyn Units<f32, time = second, thermodynamic_temperature = kelvin, mass = kilogram, luminous_intensity = candela, amount_of_substance = mole, electric_current = ampere, length = meter>, f32>
pub const SPHERE: Quantity<dyn Dimension<Kind = dyn SolidAngleKind, I = Z0, M = Z0, Th = Z0, N = Z0, T = Z0, J = Z0, L = Z0>, dyn Units<f64, time = second, thermodynamic_temperature = kelvin, mass = kilogram, luminous_intensity = candela, amount_of_substance = mole, electric_current = ampere, length = meter>, f64>
Trait Implementations§
Source§impl AddAssign for Angle
impl AddAssign for Angle
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<'de, Context> BorrowDecode<'de, Context> for Angle
impl<'de, Context> BorrowDecode<'de, Context> for Angle
Source§fn borrow_decode<D: BorrowDecoder<'de, Context = Context>>(
decoder: &mut D,
) -> Result<Self, DecodeError>
fn borrow_decode<D: BorrowDecoder<'de, Context = Context>>( decoder: &mut D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Deref for Angle
impl Deref for Angle
Source§type Target = Quantity<dyn Dimension<Kind = dyn AngleKind, I = Z0, M = Z0, Th = Z0, N = Z0, T = Z0, J = Z0, L = Z0>, dyn Units<f64, time = second, thermodynamic_temperature = kelvin, mass = kilogram, luminous_intensity = candela, amount_of_substance = mole, electric_current = ampere, length = meter>, f64>
type Target = Quantity<dyn Dimension<Kind = dyn AngleKind, I = Z0, M = Z0, Th = Z0, N = Z0, T = Z0, J = Z0, L = Z0>, dyn Units<f64, time = second, thermodynamic_temperature = kelvin, mass = kilogram, luminous_intensity = candela, amount_of_substance = mole, electric_current = ampere, length = meter>, f64>
The resulting type after dereferencing.
Source§impl<'de> Deserialize<'de> for Angle
impl<'de> Deserialize<'de> for Angle
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 DivAssign<f64> for Angle
impl DivAssign<f64> for Angle
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl From<Quantity<dyn Dimension<Kind = dyn AngleKind, I = Z0, M = Z0, Th = Z0, N = Z0, T = Z0, J = Z0, L = Z0>, dyn Units<f64, time = second, thermodynamic_temperature = kelvin, mass = kilogram, luminous_intensity = candela, amount_of_substance = mole, electric_current = ampere, length = meter>, f64>> for Angle
impl From<Quantity<dyn Dimension<Kind = dyn AngleKind, I = Z0, M = Z0, Th = Z0, N = Z0, T = Z0, J = Z0, L = Z0>, dyn Units<f64, time = second, thermodynamic_temperature = kelvin, mass = kilogram, luminous_intensity = candela, amount_of_substance = mole, electric_current = ampere, length = meter>, f64>> for Angle
Source§impl MulAssign<f64> for Angle
impl MulAssign<f64> for Angle
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl PartialOrd for Angle
impl PartialOrd for Angle
Source§impl SubAssign for Angle
impl SubAssign for Angle
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for Angle
impl StructuralPartialEq for Angle
Auto Trait Implementations§
impl Freeze for Angle
impl RefUnwindSafe for Angle
impl Send for Angle
impl Sync for Angle
impl Unpin for Angle
impl UnwindSafe for Angle
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