[−][src]Struct devicemapper::DataBlocks
A type for data blocks
Implementations
impl DataBlocks[src]
pub fn checked_add(&self, other: DataBlocks) -> Option<DataBlocks>[src]
Add two items of the same type, return None if overflow.
Trait Implementations
impl Add<DataBlocks> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the + operator.
pub fn add(self, rhs: DataBlocks) -> DataBlocks[src]
impl AddAssign<DataBlocks> for DataBlocks[src]
pub fn add_assign(&mut self, rhs: DataBlocks)[src]
impl Clone for DataBlocks[src]
pub fn clone(&self) -> DataBlocks[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for DataBlocks[src]
impl Debug for DataBlocks[src]
impl Default for DataBlocks[src]
pub fn default() -> DataBlocks[src]
impl Deref for DataBlocks[src]
impl<'de> Deserialize<'de> for DataBlocks[src]
pub fn deserialize<D>(deserializer: D) -> Result<DataBlocks, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl Display for DataBlocks[src]
impl Div<DataBlocks> for DataBlocks[src]
type Output = u64
The resulting type after applying the / operator.
pub fn div(self, rhs: DataBlocks) -> u64[src]
impl Div<u16> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the / operator.
pub fn div(self, rhs: u16) -> DataBlocks[src]
impl Div<u32> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the / operator.
pub fn div(self, rhs: u32) -> DataBlocks[src]
impl Div<u64> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the / operator.
pub fn div(self, rhs: u64) -> DataBlocks[src]
impl Div<u8> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the / operator.
pub fn div(self, rhs: u8) -> DataBlocks[src]
impl Div<usize> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the / operator.
pub fn div(self, rhs: usize) -> DataBlocks[src]
impl Eq for DataBlocks[src]
impl From<u16> for DataBlocks[src]
pub fn from(t: u16) -> DataBlocks[src]
impl From<u32> for DataBlocks[src]
pub fn from(t: u32) -> DataBlocks[src]
impl From<u64> for DataBlocks[src]
pub fn from(t: u64) -> DataBlocks[src]
impl From<u8> for DataBlocks[src]
pub fn from(t: u8) -> DataBlocks[src]
impl From<usize> for DataBlocks[src]
pub fn from(t: usize) -> DataBlocks[src]
impl Mul<DataBlocks> for u32[src]
type Output = DataBlocks
The resulting type after applying the * operator.
pub fn mul(self, rhs: DataBlocks) -> DataBlocks[src]
impl Mul<DataBlocks> for u16[src]
type Output = DataBlocks
The resulting type after applying the * operator.
pub fn mul(self, rhs: DataBlocks) -> DataBlocks[src]
impl Mul<DataBlocks> for u8[src]
type Output = DataBlocks
The resulting type after applying the * operator.
pub fn mul(self, rhs: DataBlocks) -> DataBlocks[src]
impl Mul<DataBlocks> for u64[src]
type Output = DataBlocks
The resulting type after applying the * operator.
pub fn mul(self, rhs: DataBlocks) -> DataBlocks[src]
impl Mul<DataBlocks> for usize[src]
type Output = DataBlocks
The resulting type after applying the * operator.
pub fn mul(self, rhs: DataBlocks) -> DataBlocks[src]
impl Mul<u16> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the * operator.
pub fn mul(self, rhs: u16) -> DataBlocks[src]
impl Mul<u32> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the * operator.
pub fn mul(self, rhs: u32) -> DataBlocks[src]
impl Mul<u64> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the * operator.
pub fn mul(self, rhs: u64) -> DataBlocks[src]
impl Mul<u8> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the * operator.
pub fn mul(self, rhs: u8) -> DataBlocks[src]
impl Mul<usize> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the * operator.
pub fn mul(self, rhs: usize) -> DataBlocks[src]
impl Ord for DataBlocks[src]
pub fn cmp(&self, other: &DataBlocks) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<DataBlocks> for DataBlocks[src]
pub fn eq(&self, other: &DataBlocks) -> bool[src]
pub fn ne(&self, other: &DataBlocks) -> bool[src]
impl PartialOrd<DataBlocks> for DataBlocks[src]
pub fn partial_cmp(&self, other: &DataBlocks) -> Option<Ordering>[src]
pub fn lt(&self, other: &DataBlocks) -> bool[src]
pub fn le(&self, other: &DataBlocks) -> bool[src]
pub fn gt(&self, other: &DataBlocks) -> bool[src]
pub fn ge(&self, other: &DataBlocks) -> bool[src]
impl<T> Rem<T> for DataBlocks where
DataBlocks: From<T>, [src]
DataBlocks: From<T>,
type Output = DataBlocks
The resulting type after applying the % operator.
pub fn rem(self, rhs: T) -> DataBlocks[src]
impl Serialize for DataBlocks[src]
impl StructuralEq for DataBlocks[src]
impl StructuralPartialEq for DataBlocks[src]
impl Sub<DataBlocks> for DataBlocks[src]
type Output = DataBlocks
The resulting type after applying the - operator.
pub fn sub(self, rhs: DataBlocks) -> DataBlocks[src]
impl SubAssign<DataBlocks> for DataBlocks[src]
pub fn sub_assign(&mut self, rhs: DataBlocks)[src]
impl Sum<DataBlocks> for DataBlocks[src]
pub fn sum<I: Iterator<Item = DataBlocks>>(iter: I) -> DataBlocks[src]
Auto Trait Implementations
impl RefUnwindSafe for DataBlocks[src]
impl Send for DataBlocks[src]
impl Sync for DataBlocks[src]
impl Unpin for DataBlocks[src]
impl UnwindSafe for DataBlocks[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,