pub struct RowPartition { /* private fields */ }Expand description
A validated partition of all twelve row ordinals into disjoint nonempty blocks.
Implementations§
Source§impl RowPartition
impl RowPartition
Sourcepub fn blocks(&self) -> &[RowPartitionBlock]
pub fn blocks(&self) -> &[RowPartitionBlock]
Returns the validated blocks in caller order.
Sourcepub const fn order(&self) -> BlockOrder
pub const fn order(&self) -> BlockOrder
Returns the partition’s ordering contract.
Sourcepub fn block_count(&self) -> usize
pub fn block_count(&self) -> usize
Returns the number of validated blocks.
Sourcepub fn block_sizes(&self) -> Vec<usize>
pub fn block_sizes(&self) -> Vec<usize>
Returns the size of each block in caller order.
Trait Implementations§
Source§impl Clone for RowPartition
impl Clone for RowPartition
Source§fn clone(&self) -> RowPartition
fn clone(&self) -> RowPartition
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 Debug for RowPartition
impl Debug for RowPartition
impl Eq for RowPartition
Source§impl PartialEq for RowPartition
impl PartialEq for RowPartition
impl StructuralPartialEq for RowPartition
Auto Trait Implementations§
impl Freeze for RowPartition
impl RefUnwindSafe for RowPartition
impl Send for RowPartition
impl Sync for RowPartition
impl Unpin for RowPartition
impl UnsafeUnpin for RowPartition
impl UnwindSafe for RowPartition
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