pub enum Repetitions {
SkipConsecutive,
RowsOnly,
IncludeAll,
IgnoreAll,
}Expand description
How a ContiguousSegmentSearcher reads notes that repeat a pitch
class: music21’s reps.
Variants§
SkipConsecutive
A note or chord sounding just what the one before sounded is passed
over: music21’s skipConsecutive.
RowsOnly
Every note counts, and a segment is a run of distinct pitch classes:
music21’s rowsOnly.
IncludeAll
Every note counts: music21’s includeAll.
IgnoreAll
A segment is as many notes as sound its number of distinct pitch
classes: music21’s ignoreAll.
Trait Implementations§
Source§impl Clone for Repetitions
impl Clone for Repetitions
impl Copy for Repetitions
Source§impl Debug for Repetitions
impl Debug for Repetitions
Source§impl Default for Repetitions
impl Default for Repetitions
impl Eq for Repetitions
Source§impl Hash for Repetitions
impl Hash for Repetitions
Source§impl PartialEq for Repetitions
impl PartialEq for Repetitions
impl StructuralPartialEq for Repetitions
Auto Trait Implementations§
impl Freeze for Repetitions
impl RefUnwindSafe for Repetitions
impl Send for Repetitions
impl Sync for Repetitions
impl Unpin for Repetitions
impl UnsafeUnpin for Repetitions
impl UnwindSafe for Repetitions
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more