pub struct SpecificEnergy { /* private fields */ }Implementations§
Source§impl SpecificEnergy
impl SpecificEnergy
pub const fn new(native: NativeType) -> Self
pub fn abs(&self) -> Self
Trait Implementations§
Source§impl Add for SpecificEnergy
impl Add for SpecificEnergy
Source§impl AddAssign for SpecificEnergy
impl AddAssign for SpecificEnergy
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 SpecificEnergy
impl<'__de, __Context> BorrowDecode<'__de, __Context> for SpecificEnergy
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 SpecificEnergy
impl Clone for SpecificEnergy
Source§fn clone(&self) -> SpecificEnergy
fn clone(&self) -> SpecificEnergy
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 SpecificEnergy
impl<__Context> Decode<__Context> for SpecificEnergy
Source§impl Div<SpecificEnergy> for Energy
impl Div<SpecificEnergy> for Energy
Source§impl Div for SpecificEnergy
impl Div for SpecificEnergy
Source§impl Encode for SpecificEnergy
impl Encode for SpecificEnergy
Source§impl From<f64> for SpecificEnergy
impl From<f64> for SpecificEnergy
Source§fn from(native: NativeType) -> SpecificEnergy
fn from(native: NativeType) -> SpecificEnergy
Converts to this type from the input type.
Source§impl Into<f64> for SpecificEnergy
impl Into<f64> for SpecificEnergy
Source§fn into(self) -> NativeType
fn into(self) -> NativeType
Converts this type into the (usually inferred) input type.
Source§impl Mul<Mass> for SpecificEnergy
impl Mul<Mass> for SpecificEnergy
Source§impl Mul<Scalar> for SpecificEnergy
impl Mul<Scalar> for SpecificEnergy
Source§impl Mul<SpecificEnergy> for Mass
impl Mul<SpecificEnergy> for Mass
Source§impl PartialEq for SpecificEnergy
impl PartialEq for SpecificEnergy
Source§impl PartialOrd for SpecificEnergy
impl PartialOrd for SpecificEnergy
Source§impl Sub for SpecificEnergy
impl Sub for SpecificEnergy
Source§impl SubAssign for SpecificEnergy
impl SubAssign for SpecificEnergy
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for SpecificEnergy
Auto Trait Implementations§
impl Freeze for SpecificEnergy
impl RefUnwindSafe for SpecificEnergy
impl Send for SpecificEnergy
impl Sync for SpecificEnergy
impl Unpin for SpecificEnergy
impl UnwindSafe for SpecificEnergy
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