pub struct Angstrom(pub f64);Tuple Fields§
§0: f64Trait Implementations§
Source§impl<T: Length + Unit> AddAssign<&T> for Angstrom
impl<T: Length + Unit> AddAssign<&T> for Angstrom
Source§fn add_assign(&mut self, other: &T)
fn add_assign(&mut self, other: &T)
Performs the
+= operation. Read moreSource§impl DivAssign<f64> for Angstrom
impl DivAssign<f64> for Angstrom
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl Length for Angstrom
impl Length for Angstrom
Source§fn multiply(&self, rhs: &dyn Length) -> SquareMeter
fn multiply(&self, rhs: &dyn Length) -> SquareMeter
Multiply two units of length.
Source§fn multiply_area(&self, rhs: &dyn Area) -> CubicMeter
fn multiply_area(&self, rhs: &dyn Area) -> CubicMeter
Multiply a unit of length with a unit of area.
Source§fn divide_time(&self, rhs: &dyn Time) -> MeterPerSecond
fn divide_time(&self, rhs: &dyn Time) -> MeterPerSecond
Divide a unit of length by a unit of time.
Source§fn divide_velocity(&self, rhs: &dyn Velocity) -> Second
fn divide_velocity(&self, rhs: &dyn Velocity) -> Second
Divide a unit of length by a unit of velocity.
Source§impl MulAssign<f64> for Angstrom
impl MulAssign<f64> for Angstrom
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl PartialOrd for Angstrom
impl PartialOrd for Angstrom
Source§impl<T: Length + Unit> SubAssign<&T> for Angstrom
impl<T: Length + Unit> SubAssign<&T> for Angstrom
Source§fn sub_assign(&mut self, other: &T)
fn sub_assign(&mut self, other: &T)
Performs the
-= operation. Read moreSource§impl Unit for Angstrom
impl Unit for Angstrom
impl Copy for Angstrom
impl StructuralPartialEq for Angstrom
Auto Trait Implementations§
impl Freeze for Angstrom
impl RefUnwindSafe for Angstrom
impl Send for Angstrom
impl Sync for Angstrom
impl Unpin for Angstrom
impl UnwindSafe for Angstrom
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