pub struct Kw(/* private fields */);Expand description
A value of kilo watts.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Kw
impl<'de> Deserialize<'de> for Kw
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<Kw> for Decimal
The user can convert a Decimal newtype to a Decimal But cannot create
a Decimal newtype from a Decimal.
impl From<Kw> 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 Kw
impl Ord for Kw
Source§impl PartialOrd for Kw
impl PartialOrd for Kw
impl Copy for Kw
impl Eq for Kw
impl StructuralPartialEq for Kw
Auto Trait Implementations§
impl Freeze for Kw
impl RefUnwindSafe for Kw
impl Send for Kw
impl Sync for Kw
impl Unpin for Kw
impl UnwindSafe for Kw
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