pub struct Unitless;Trait Implementations§
Source§impl Unit for Unitless
impl Unit for Unitless
type Dimension = Dimension<0, 0, 0>
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 Freeze for Unitless
impl RefUnwindSafe for Unitless
impl Send for Unitless
impl Sync for Unitless
impl Unpin for Unitless
impl UnwindSafe for Unitless
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