pub struct Ampere(/* private fields */);Expand description
A value of amperes.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ampere
impl<'de> Deserialize<'de> for Ampere
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 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 Ord for Ampere
impl Ord for Ampere
Source§impl PartialOrd for Ampere
impl PartialOrd for Ampere
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