pub struct Ohm;Expand description
Zero-sized marker struct representing a concrete unit.
Generated by unit! macro; implements Unit with provided
quantity mapping, factor and abbreviation.
Trait Implementations§
impl Copy for Ohm
Source§impl PartialOrd for Ohm
impl PartialOrd for Ohm
impl StructuralPartialEq for Ohm
Source§impl Unit for Ohm
impl Unit for Ohm
Source§type Quantity = Quantity<<<<Quantity<DimensionVector<Z0, Z0, Z0, Z0, Z0, Z0, Z0>, ()> as Mul<<<Volt as Unit>::Quantity as TypePow<PInt<UInt<UTerm, B1>>>>::Output>>::Output as Mul<<<Ampere as Unit>::Quantity as TypePow<NInt<UInt<UTerm, B1>>>>::Output>>::Output as QuantityMarker>::DimensionVector, ()>
type Quantity = Quantity<<<<Quantity<DimensionVector<Z0, Z0, Z0, Z0, Z0, Z0, Z0>, ()> as Mul<<<Volt as Unit>::Quantity as TypePow<PInt<UInt<UTerm, B1>>>>::Output>>::Output as Mul<<<Ampere as Unit>::Quantity as TypePow<NInt<UInt<UTerm, B1>>>>::Output>>::Output as QuantityMarker>::DimensionVector, ()>
The associated quantity type for this unit.
Auto Trait Implementations§
impl Freeze for Ohm
impl RefUnwindSafe for Ohm
impl Send for Ohm
impl Sync for Ohm
impl Unpin for Ohm
impl UnsafeUnpin for Ohm
impl UnwindSafe for Ohm
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