pub struct RowPartitionBlock { /* private fields */ }Expand description
One nonempty block of row ordinals in caller-declared order.
Implementations§
Source§impl RowPartitionBlock
impl RowPartitionBlock
Sourcepub fn ordinals(&self) -> &[u8] ⓘ
pub fn ordinals(&self) -> &[u8] ⓘ
Returns the block’s row ordinals in the caller-declared order.
Sourcepub fn pitch_classes(&self, row: &ToneRow) -> Vec<PitchClass>
pub fn pitch_classes(&self, row: &ToneRow) -> Vec<PitchClass>
Returns the pitch classes reached by this block on row.
Sourcepub fn mask(&self, row: &ToneRow) -> PitchClassMask
pub fn mask(&self, row: &ToneRow) -> PitchClassMask
Returns the unordered pitch-class mask reached by this block on row.
Trait Implementations§
Source§impl Clone for RowPartitionBlock
impl Clone for RowPartitionBlock
Source§fn clone(&self) -> RowPartitionBlock
fn clone(&self) -> RowPartitionBlock
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 RowPartitionBlock
impl Debug for RowPartitionBlock
impl Eq for RowPartitionBlock
Source§impl PartialEq for RowPartitionBlock
impl PartialEq for RowPartitionBlock
impl StructuralPartialEq for RowPartitionBlock
Auto Trait Implementations§
impl Freeze for RowPartitionBlock
impl RefUnwindSafe for RowPartitionBlock
impl Send for RowPartitionBlock
impl Sync for RowPartitionBlock
impl Unpin for RowPartitionBlock
impl UnsafeUnpin for RowPartitionBlock
impl UnwindSafe for RowPartitionBlock
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