pub struct PartitionSize {
pub m: u8,
pub n: u8,
pub k: u8,
}Fields§
§m: u8§n: u8§k: u8Implementations§
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 (const: unstable) · 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
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
Source§fn eq(&self, other: &PartitionSize) -> bool
fn eq(&self, other: &PartitionSize) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CompilationArg for T
impl<T> CompilationArg for T
Source§fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
Compilation args should be the same even with different element types. However, it isn’t
possible to enforce it with the type system. So, we make the compilation args serializable
and dynamically cast them. Read more
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.