pub struct Ampere(/* private fields */);Expand description
A value of amperes.
Implementations§
Trait Implementations§
Source§impl From<Ampere> for Decimal
The user can convert a Decimal newtype to a Decimal But cannot create
a Decimal newtype from a Decimal.
impl From<Ampere> for Decimal
The user can convert a Decimal newtype to a Decimal But cannot create
a Decimal newtype from a Decimal.
Source§impl IntoCaveat for Ampere
impl IntoCaveat for Ampere
Source§impl IntoCaveatDeferred for Ampere
impl IntoCaveatDeferred for Ampere
Source§fn into_caveat_deferred<K: Kind>(
self,
warnings: SetDeferred<K>,
) -> CaveatDeferred<Self, K>
fn into_caveat_deferred<K: Kind>( self, warnings: SetDeferred<K>, ) -> CaveatDeferred<Self, K>
Any type can be converted to
CaveatDeferred<T> by supplying a list of warning Kinds.Source§impl Ord for Ampere
impl Ord for Ampere
Source§impl PartialOrd for Ampere
impl PartialOrd for Ampere
Source§impl TruncateDecimal for Ampere
impl TruncateDecimal for Ampere
Source§fn truncate_to_ocpi_scale(self) -> Self
fn truncate_to_ocpi_scale(self) -> Self
impl Copy for Ampere
impl Eq for Ampere
impl StructuralPartialEq for Ampere
Auto Trait Implementations§
impl Freeze for Ampere
impl RefUnwindSafe for Ampere
impl Send for Ampere
impl Sync for Ampere
impl Unpin for Ampere
impl UnwindSafe for Ampere
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