pub struct NumBlocks {
pub raw: u64,
}
Expand description
Represents a number of blocks.
Fields§
§raw: u64
Raw number of blocks.
Implementations§
Trait Implementations§
Source§impl AddAssign<u64> for NumBlocks
impl AddAssign<u64> for NumBlocks
Source§fn add_assign(&mut self, rhs: u64)
fn add_assign(&mut self, rhs: u64)
Performs the
+=
operation. Read moreSource§impl AddAssign for NumBlocks
impl AddAssign for NumBlocks
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl DivAssign<u64> for NumBlocks
impl DivAssign<u64> for NumBlocks
Source§fn div_assign(&mut self, rhs: u64)
fn div_assign(&mut self, rhs: u64)
Performs the
/=
operation. Read moreSource§impl DivAssign for NumBlocks
impl DivAssign for NumBlocks
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moreSource§impl MulAssign<u64> for NumBlocks
impl MulAssign<u64> for NumBlocks
Source§fn mul_assign(&mut self, rhs: u64)
fn mul_assign(&mut self, rhs: u64)
Performs the
*=
operation. Read moreSource§impl MulAssign for NumBlocks
impl MulAssign for NumBlocks
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moreSource§impl Ord for NumBlocks
impl Ord for NumBlocks
Source§impl PartialOrd<NumBlocks> for u64
impl PartialOrd<NumBlocks> for u64
Source§impl PartialOrd<u64> for NumBlocks
impl PartialOrd<u64> for NumBlocks
Source§impl PartialOrd for NumBlocks
impl PartialOrd for NumBlocks
Source§impl SubAssign<u64> for NumBlocks
impl SubAssign<u64> for NumBlocks
Source§fn sub_assign(&mut self, rhs: u64)
fn sub_assign(&mut self, rhs: u64)
Performs the
-=
operation. Read moreSource§impl SubAssign for NumBlocks
impl SubAssign for NumBlocks
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for NumBlocks
impl Eq for NumBlocks
impl StructuralPartialEq for NumBlocks
Auto Trait Implementations§
impl Freeze for NumBlocks
impl RefUnwindSafe for NumBlocks
impl Send for NumBlocks
impl Sync for NumBlocks
impl Unpin for NumBlocks
impl UnwindSafe for NumBlocks
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