pub struct AngularVelocity(/* private fields */);Implementations§
Source§impl AngularVelocity
impl AngularVelocity
pub fn new<U>(value: f64) -> Selfwhere
U: Conversion<f64>,
pub fn get<U>(&self) -> f64where
U: Conversion<f64>,
pub fn raw(&self) -> f64
pub fn into_uom(self) -> AngularVelocity
pub fn as_uom(&self) -> &AngularVelocity
pub fn from_uom(inner: AngularVelocity) -> Self
Methods from Deref<Target = AngularVelocity>§
pub const HALF_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
pub const FULL_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
pub const HALF_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
pub const FULL_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
pub const SPHERE: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn SolidAngleKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
pub const SPHERE: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn SolidAngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
Trait Implementations§
Source§impl Add for AngularVelocity
impl Add for AngularVelocity
Source§impl AddAssign for AngularVelocity
impl AddAssign for AngularVelocity
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 AngularVelocity
impl<'de, Context> BorrowDecode<'de, Context> for AngularVelocity
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 Clone for AngularVelocity
impl Clone for AngularVelocity
Source§fn clone(&self) -> AngularVelocity
fn clone(&self) -> AngularVelocity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AngularVelocity
impl Debug for AngularVelocity
Source§impl<Context> Decode<Context> for AngularVelocity
impl<Context> Decode<Context> for AngularVelocity
Source§impl Default for AngularVelocity
impl Default for AngularVelocity
Source§impl Deref for AngularVelocity
impl Deref for AngularVelocity
Source§type Target = Quantity<dyn Dimension<T = NInt<UInt<UTerm, B1>>, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
type Target = Quantity<dyn Dimension<T = NInt<UInt<UTerm, B1>>, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
The resulting type after dereferencing.
Source§impl<'de> Deserialize<'de> for AngularVelocity
impl<'de> Deserialize<'de> for AngularVelocity
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 Div<f64> for AngularVelocity
impl Div<f64> for AngularVelocity
Source§impl DivAssign<f64> for AngularVelocity
impl DivAssign<f64> for AngularVelocity
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl Encode for AngularVelocity
impl Encode for AngularVelocity
Source§impl From<AngularVelocity> for AngularVelocity
impl From<AngularVelocity> for AngularVelocity
Source§fn from(value: AngularVelocity) -> Self
fn from(value: AngularVelocity) -> Self
Converts to this type from the input type.
Source§impl From<Quantity<dyn Dimension<T = NInt<UInt<UTerm, B1>>, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>> for AngularVelocity
impl From<Quantity<dyn Dimension<T = NInt<UInt<UTerm, B1>>, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>> for AngularVelocity
Source§fn from(value: AngularVelocity) -> Self
fn from(value: AngularVelocity) -> Self
Converts to this type from the input type.
Source§impl Mul<f64> for AngularVelocity
impl Mul<f64> for AngularVelocity
Source§impl MulAssign<f64> for AngularVelocity
impl MulAssign<f64> for AngularVelocity
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl Neg for AngularVelocity
impl Neg for AngularVelocity
Source§impl PartialEq for AngularVelocity
impl PartialEq for AngularVelocity
Source§impl PartialOrd for AngularVelocity
impl PartialOrd for AngularVelocity
Source§impl Serialize for AngularVelocity
impl Serialize for AngularVelocity
Source§impl Sub for AngularVelocity
impl Sub for AngularVelocity
Source§impl SubAssign for AngularVelocity
impl SubAssign for AngularVelocity
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for AngularVelocity
impl StructuralPartialEq for AngularVelocity
Auto Trait Implementations§
impl Freeze for AngularVelocity
impl RefUnwindSafe for AngularVelocity
impl Send for AngularVelocity
impl Sync for AngularVelocity
impl Unpin for AngularVelocity
impl UnwindSafe for AngularVelocity
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