pub struct Barrel(pub f64);Tuple Fields§
§0: f64Trait Implementations§
Source§impl<T: Volume + Unit> AddAssign<&T> for Barrel
impl<T: Volume + Unit> AddAssign<&T> for Barrel
Source§fn add_assign(&mut self, other: &T)
fn add_assign(&mut self, other: &T)
Performs the
+= operation. Read moreSource§impl DivAssign<f64> for Barrel
impl DivAssign<f64> for Barrel
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl MulAssign<f64> for Barrel
impl MulAssign<f64> for Barrel
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl PartialOrd for Barrel
impl PartialOrd for Barrel
Source§impl<T: Volume + Unit> SubAssign<&T> for Barrel
impl<T: Volume + Unit> SubAssign<&T> for Barrel
Source§fn sub_assign(&mut self, other: &T)
fn sub_assign(&mut self, other: &T)
Performs the
-= operation. Read moreSource§impl Unit for Barrel
impl Unit for Barrel
Source§impl Volume for Barrel
impl Volume for Barrel
Source§fn divide_length(&self, rhs: &dyn Length) -> SquareMeter
fn divide_length(&self, rhs: &dyn Length) -> SquareMeter
Divide a unit of volume by a unit of length
Source§fn divide_area(&self, rhs: &dyn Area) -> Meter
fn divide_area(&self, rhs: &dyn Area) -> Meter
Divide a unit of volume by a unit of area
impl Copy for Barrel
impl StructuralPartialEq for Barrel
Auto Trait Implementations§
impl Freeze for Barrel
impl RefUnwindSafe for Barrel
impl Send for Barrel
impl Sync for Barrel
impl Unpin for Barrel
impl UnwindSafe for Barrel
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