pub enum BlockProjectionSource {
OrdinalCollapse {
source_ordinals: Vec<u8>,
target_pitch_class: PitchClass,
},
BlockMultiplication {
anchor_block_index: usize,
anchor_ordinals: Vec<u8>,
interval_block_index: usize,
interval_ordinals: Vec<u8>,
interval_content: Vec<u8>,
},
}Expand description
The source relationship that produced one reservoir block.
Variants§
OrdinalCollapse
Several source ordinals collapsed onto one pitch class under a non-bijective affine map.
Fields
§
target_pitch_class: PitchClassThe common mapped pitch class.
BlockMultiplication
One block’s interval content was projected onto another block’s pitches.
Fields
Trait Implementations§
Source§impl Clone for BlockProjectionSource
impl Clone for BlockProjectionSource
Source§fn clone(&self) -> BlockProjectionSource
fn clone(&self) -> BlockProjectionSource
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 BlockProjectionSource
impl Debug for BlockProjectionSource
impl Eq for BlockProjectionSource
Source§impl PartialEq for BlockProjectionSource
impl PartialEq for BlockProjectionSource
impl StructuralPartialEq for BlockProjectionSource
Auto Trait Implementations§
impl Freeze for BlockProjectionSource
impl RefUnwindSafe for BlockProjectionSource
impl Send for BlockProjectionSource
impl Sync for BlockProjectionSource
impl Unpin for BlockProjectionSource
impl UnsafeUnpin for BlockProjectionSource
impl UnwindSafe for BlockProjectionSource
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