pub struct PartitionSize {
pub m: u8,
pub n: u8,
pub k: u8,
}
Fields§
§m: u8
§n: u8
§k: u8
Implementations§
Source§impl PartitionSize
impl PartitionSize
Trait Implementations§
Source§impl Clone for PartitionSize
impl Clone for PartitionSize
Source§fn clone(&self) -> PartitionSize
fn clone(&self) -> PartitionSize
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CubeType for PartitionSize
impl CubeType for PartitionSize
type ExpandType = PartitionSizeExpand
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Source§impl Debug for PartitionSize
impl Debug for PartitionSize
Source§impl From<PartitionSize> for (i32, i32, i32)
impl From<PartitionSize> for (i32, i32, i32)
Source§fn from(value: PartitionSize) -> Self
fn from(value: PartitionSize) -> Self
Converts to this type from the input type.
Source§impl From<PartitionSize> for (u16, u16, u16)
impl From<PartitionSize> for (u16, u16, u16)
Source§fn from(value: PartitionSize) -> Self
fn from(value: PartitionSize) -> Self
Converts to this type from the input type.
Source§impl From<PartitionSize> for (u32, u32, u32)
impl From<PartitionSize> for (u32, u32, u32)
Source§fn from(value: PartitionSize) -> Self
fn from(value: PartitionSize) -> Self
Converts to this type from the input type.
Source§impl From<PartitionSize> for (u8, u8, u8)
impl From<PartitionSize> for (u8, u8, u8)
Source§fn from(value: PartitionSize) -> Self
fn from(value: PartitionSize) -> Self
Converts to this type from the input type.
Source§impl From<PartitionSize> for (usize, usize, usize)
impl From<PartitionSize> for (usize, usize, usize)
Source§fn from(value: PartitionSize) -> Self
fn from(value: PartitionSize) -> Self
Converts to this type from the input type.
Source§impl Hash for PartitionSize
impl Hash for PartitionSize
Source§impl PartialEq for PartitionSize
impl PartialEq for PartitionSize
impl Copy for PartitionSize
impl Eq for PartitionSize
impl StructuralPartialEq for PartitionSize
Auto Trait Implementations§
impl Freeze for PartitionSize
impl RefUnwindSafe for PartitionSize
impl Send for PartitionSize
impl Sync for PartitionSize
impl Unpin for PartitionSize
impl UnwindSafe for PartitionSize
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.