pub struct UnitInv<T: Unit>(/* private fields */);Trait Implementations§
Source§impl<T: Unit> Unit for UnitInv<T>where
T::Dimension: InvertDimension,
impl<T: Unit> Unit for UnitInv<T>where
T::Dimension: InvertDimension,
type Dimension = <<T as Unit>::Dimension as InvertDimension>::Output
fn parameters() -> UnitParameters
fn to<S: Unit<Dimension = Self::Dimension>, E: TensorElement>(value: E) -> E
fn from<S: Unit<Dimension = Self::Dimension>, E: TensorElement>(value: E) -> E
fn to_base(value: c64) -> c64
fn from_base(value: c64) -> c64
fn symbol() -> &'static str
fn name() -> &'static str
Auto Trait Implementations§
impl<T> Freeze for UnitInv<T>
impl<T> RefUnwindSafe for UnitInv<T>where
T: RefUnwindSafe,
impl<T> Send for UnitInv<T>where
T: Send,
impl<T> Sync for UnitInv<T>where
T: Sync,
impl<T> Unpin for UnitInv<T>where
T: Unpin,
impl<T> UnwindSafe for UnitInv<T>where
T: UnwindSafe,
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