pub struct QuartetOptions {
pub include_rests: bool,
pub include_oblique: bool,
pub include_no_motion: bool,
}Expand description
Which quartets iterate_all_voice_leading_quartets gives: music21’s
keyword arguments of the same names, with its defaults.
Fields§
§include_rests: boolWhether a voice may come to its note out of a rest. Without it, the note before has to stop exactly where the next one starts.
include_oblique: boolWhether a voice that holds or repeats its note counts as moving.
include_no_motion: boolWhether a quartet in which neither voice changes pitch is given.
Trait Implementations§
Source§impl Clone for QuartetOptions
impl Clone for QuartetOptions
impl Copy for QuartetOptions
Source§impl Debug for QuartetOptions
impl Debug for QuartetOptions
Source§impl Default for QuartetOptions
impl Default for QuartetOptions
Source§impl<'de> Deserialize<'de> for QuartetOptions
Available on crate feature serde only.
impl<'de> Deserialize<'de> for QuartetOptions
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for QuartetOptions
Source§impl PartialEq for QuartetOptions
impl PartialEq for QuartetOptions
Source§impl Serialize for QuartetOptions
Available on crate feature serde only.
impl Serialize for QuartetOptions
Available on crate feature
serde only.impl StructuralPartialEq for QuartetOptions
Auto Trait Implementations§
impl Freeze for QuartetOptions
impl RefUnwindSafe for QuartetOptions
impl Send for QuartetOptions
impl Sync for QuartetOptions
impl Unpin for QuartetOptions
impl UnsafeUnpin for QuartetOptions
impl UnwindSafe for QuartetOptions
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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