pub struct EnergyDensity { /* private fields */ }Implementations§
Source§impl EnergyDensity
impl EnergyDensity
pub const fn new(native: NativeType) -> Self
pub fn abs(&self) -> Self
Trait Implementations§
Source§impl Add for EnergyDensity
impl Add for EnergyDensity
Source§impl AddAssign for EnergyDensity
impl AddAssign for EnergyDensity
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<'__de, __Context> BorrowDecode<'__de, __Context> for EnergyDensity
impl<'__de, __Context> BorrowDecode<'__de, __Context> for EnergyDensity
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for EnergyDensity
impl Clone for EnergyDensity
Source§fn clone(&self) -> EnergyDensity
fn clone(&self) -> EnergyDensity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<__Context> Decode<__Context> for EnergyDensity
impl<__Context> Decode<__Context> for EnergyDensity
Source§impl Div<EnergyDensity> for Energy
impl Div<EnergyDensity> for Energy
Source§impl Div for EnergyDensity
impl Div for EnergyDensity
Source§impl Encode for EnergyDensity
impl Encode for EnergyDensity
Source§impl From<f64> for EnergyDensity
impl From<f64> for EnergyDensity
Source§fn from(native: NativeType) -> EnergyDensity
fn from(native: NativeType) -> EnergyDensity
Converts to this type from the input type.
Source§impl Into<f64> for EnergyDensity
impl Into<f64> for EnergyDensity
Source§fn into(self) -> NativeType
fn into(self) -> NativeType
Converts this type into the (usually inferred) input type.
Source§impl Mul<EnergyDensity> for Volume
impl Mul<EnergyDensity> for Volume
Source§impl Mul<Scalar> for EnergyDensity
impl Mul<Scalar> for EnergyDensity
Source§impl Mul<Volume> for EnergyDensity
impl Mul<Volume> for EnergyDensity
Source§impl PartialEq for EnergyDensity
impl PartialEq for EnergyDensity
Source§impl PartialOrd for EnergyDensity
impl PartialOrd for EnergyDensity
Source§impl Sub for EnergyDensity
impl Sub for EnergyDensity
Source§impl SubAssign for EnergyDensity
impl SubAssign for EnergyDensity
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for EnergyDensity
Auto Trait Implementations§
impl Freeze for EnergyDensity
impl RefUnwindSafe for EnergyDensity
impl Send for EnergyDensity
impl Sync for EnergyDensity
impl Unpin for EnergyDensity
impl UnwindSafe for EnergyDensity
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