pub struct electronvolt_second;Available on crate feature
uom only.Expand description
electronvolt seconds
Trait Implementations§
Source§impl Clone for electronvolt_second
impl Clone for electronvolt_second
Source§fn clone(&self) -> electronvolt_second
fn clone(&self) -> electronvolt_second
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Conversion<f64> for electronvolt_second
impl Conversion<f64> for electronvolt_second
Source§fn coefficient() -> <electronvolt_second as Conversion<f64>>::T
fn coefficient() -> <electronvolt_second as Conversion<f64>>::T
Coefficient portion of conversion factor for
converting the given unit. To convert to the base unit for the quantity use
(value + constant()) * coefficient(). To convert from the base unit, (value / coefficient()) - constant() is used. Implementation should return the multiplicative identity
(Self::T::one()) if no coefficient exists.Source§fn constant(op: ConstantOp) -> <electronvolt_second as Conversion<f64>>::T
fn constant(op: ConstantOp) -> <electronvolt_second as Conversion<f64>>::T
Constant portion of conversion factor for
converting the given unit. To convert to the base unit for the quantity use
(value + constant()) * coefficient(). To convert from the base unit, (value / coefficient()) - constant() is used. Implementation should return the additive identity (Self::T::zero())
if no constant exists. See ConstantOp documentation for details about parameter use to
ensure the method optimizes correctly.Source§fn conversion(&self) -> Self::Twhere
Self: Sized,
fn conversion(&self) -> Self::Twhere
Self: Sized,
Instance conversion factor. Read more
impl Conversion<f64> for electronvolt_second
impl Copy for electronvolt_second
Source§impl Debug for electronvolt_second
impl Debug for electronvolt_second
Source§impl Hash for electronvolt_second
impl Hash for electronvolt_second
Source§impl Unit for electronvolt_second
impl Unit for electronvolt_second
impl Unit for electronvolt_second
Auto Trait Implementations§
impl Freeze for electronvolt_second
impl RefUnwindSafe for electronvolt_second
impl Send for electronvolt_second
impl Sync for electronvolt_second
impl Unpin for electronvolt_second
impl UnsafeUnpin for electronvolt_second
impl UnwindSafe for electronvolt_second
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Compatible<dyn Dimension<N = Z0, Kind = dyn Kind, I = Z0, Th = Z0, M = PInt<UInt<UTerm, B1>>, L = PInt<UInt<UInt<UTerm, B1>, B0>>, J = Z0, T = NInt<UInt<UTerm, B1>>>> for Twhere
T: Unit,
impl<T> Compatible<dyn Dimension<N = Z0, Kind = dyn Kind, I = Z0, Th = Z0, M = PInt<UInt<UTerm, B1>>, L = PInt<UInt<UInt<UTerm, B1>, B0>>, J = Z0, T = NInt<UInt<UTerm, B1>>>> for Twhere
T: Unit,
Source§fn format_args<U, V>(
self,
value: Quantity<dyn Dimension<N = Z0, Kind = dyn Kind, I = Z0, Th = Z0, M = PInt<UInt<UTerm, B1>>, L = PInt<UInt<UInt<UTerm, B1>, B0>>, J = Z0, T = NInt<UInt<UTerm, B1>>>, U, V>,
style: DisplayStyle,
) -> QuantityArguments<dyn Dimension<N = Z0, Kind = dyn Kind, I = Z0, Th = Z0, M = PInt<UInt<UTerm, B1>>, L = PInt<UInt<UInt<UTerm, B1>, B0>>, J = Z0, T = NInt<UInt<UTerm, B1>>>, U, V, T>
fn format_args<U, V>( self, value: Quantity<dyn Dimension<N = Z0, Kind = dyn Kind, I = Z0, Th = Z0, M = PInt<UInt<UTerm, B1>>, L = PInt<UInt<UInt<UTerm, B1>, B0>>, J = Z0, T = NInt<UInt<UTerm, B1>>>, U, V>, style: DisplayStyle, ) -> QuantityArguments<dyn Dimension<N = Z0, Kind = dyn Kind, I = Z0, Th = Z0, M = PInt<UInt<UTerm, B1>>, L = PInt<UInt<UInt<UTerm, B1>, B0>>, J = Z0, T = NInt<UInt<UTerm, B1>>>, U, V, T>
Available on crate feature
uom only.Creates a statically type-checked and displayable object that can be
used for formatting Quantities.
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more