Struct devicemapper::DataBlocks
[−]
pub struct DataBlocks(pub u64);
A type for Data Blocks as used by the thin pool.
Methods from Deref<Target = u64>
Trait Implementations
impl Clone for DataBlocks
fn clone(&self) -> DataBlocks
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for DataBlocks
impl Debug for DataBlocks
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for DataBlocks
fn default() -> DataBlocks
Returns the "default value" for a type. Read more
impl Eq for DataBlocks
impl Ord for DataBlocks
fn cmp(&self, __arg_0: &DataBlocks) -> Ordering
This method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
Compares and returns the minimum of two values. Read more
impl PartialEq for DataBlocks
fn eq(&self, __arg_0: &DataBlocks) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DataBlocks) -> bool
This method tests for !=.
impl PartialOrd for DataBlocks
fn partial_cmp(&self, __arg_0: &DataBlocks) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &DataBlocks) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &DataBlocks) -> bool
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &DataBlocks) -> bool
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &DataBlocks) -> bool
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Add<DataBlocks> for DataBlocks
type Output = DataBlocks
The resulting type after applying the + operator.
fn add(self, rhs: Self) -> DataBlocks
Performs the + operation.
impl AddAssign<DataBlocks> for DataBlocks
fn add_assign(&mut self, rhs: Self)
Performs the += operation.
impl Deref for DataBlocks
type Target = u64
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
Dereferences the value.
impl From<u64> for DataBlocks
impl From<DataBlocks> for u64
fn from(v: DataBlocks) -> Self
Performs the conversion.
impl Sub<DataBlocks> for DataBlocks
type Output = DataBlocks
The resulting type after applying the - operator.
fn sub(self, rhs: Self) -> DataBlocks
Performs the - operation.
impl SubAssign<DataBlocks> for DataBlocks
fn sub_assign(&mut self, rhs: Self)
Performs the -= operation.
impl Div<DataBlocks> for DataBlocks[src]
type Output = u64
The resulting type after applying the / operator.
fn div(self, rhs: DataBlocks) -> u64[src]
Performs the / operation.
impl Serialize for DataBlocks[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for DataBlocks[src]
fn deserialize<D>(deserializer: D) -> Result<DataBlocks, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Div<u64> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the / operator.
fn div(self, rhs: u64) -> DataBlocks[src]
Performs the / operation.
impl Div<u32> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the / operator.
fn div(self, rhs: u32) -> DataBlocks[src]
Performs the / operation.
impl Div<u16> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the / operator.
fn div(self, rhs: u16) -> DataBlocks[src]
Performs the / operation.
impl Div<u8> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the / operator.
fn div(self, rhs: u8) -> DataBlocks[src]
Performs the / operation.
impl Div<usize> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the / operator.
fn div(self, rhs: usize) -> DataBlocks[src]
Performs the / operation.
impl Mul<u64> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the * operator.
fn mul(self, rhs: u64) -> DataBlocks[src]
Performs the * operation.
impl Mul<DataBlocks> for u64[src]
type Output = DataBlocks
The resulting type after applying the * operator.
fn mul(self, rhs: DataBlocks) -> DataBlocks[src]
Performs the * operation.
impl Mul<u32> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the * operator.
fn mul(self, rhs: u32) -> DataBlocks[src]
Performs the * operation.
impl Mul<DataBlocks> for u32[src]
type Output = DataBlocks
The resulting type after applying the * operator.
fn mul(self, rhs: DataBlocks) -> DataBlocks[src]
Performs the * operation.
impl Mul<u16> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the * operator.
fn mul(self, rhs: u16) -> DataBlocks[src]
Performs the * operation.
impl Mul<DataBlocks> for u16[src]
type Output = DataBlocks
The resulting type after applying the * operator.
fn mul(self, rhs: DataBlocks) -> DataBlocks[src]
Performs the * operation.
impl Mul<u8> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the * operator.
fn mul(self, rhs: u8) -> DataBlocks[src]
Performs the * operation.
impl Mul<DataBlocks> for u8[src]
type Output = DataBlocks
The resulting type after applying the * operator.
fn mul(self, rhs: DataBlocks) -> DataBlocks[src]
Performs the * operation.
impl Mul<usize> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the * operator.
fn mul(self, rhs: usize) -> DataBlocks[src]
Performs the * operation.
impl Mul<DataBlocks> for usize[src]
type Output = DataBlocks
The resulting type after applying the * operator.
fn mul(self, rhs: DataBlocks) -> DataBlocks[src]
Performs the * operation.