pub struct InForce {
pub clef: Option<Clef>,
pub key: Option<KeySignature>,
pub meter: Option<TimeSignature>,
}Expand description
The clef, key and time signature in force before a measure, which
music21 finds by searching the measure’s context and
Stream::split_at_quarter_length is given: a crate stream knows
nothing outside itself. Stream::in_force_before reads them off a
part.
Fields§
§clef: Option<Clef>The clef in force before the measure.
key: Option<KeySignature>The key signature in force before the measure.
meter: Option<TimeSignature>The time signature in force before the measure.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InForce
impl RefUnwindSafe for InForce
impl Send for InForce
impl Sync for InForce
impl Unpin for InForce
impl UnsafeUnpin for InForce
impl UnwindSafe for InForce
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