pub struct FitAsked {
pub highest: FloatType,
pub bar_length: FloatType,
pub has_notes: bool,
pub at_start: bool,
pub last_was_short: bool,
}Available on crate feature
musicxml only.Expand description
What is known of a measure as it goes into its part.
Fields§
§highest: FloatTypeWhere its contents end, in quarters: music21’s highestTime.
bar_length: FloatTypeHow long a bar of its meter is.
has_notes: boolWhether it holds a note or a rest.
at_start: boolWhether it opens the part: nothing before it took any time.
last_was_short: boolWhether the measure before it was cut short.
Trait Implementations§
impl Copy for FitAsked
impl StructuralPartialEq for FitAsked
Auto Trait Implementations§
impl Forget for FitAsked
impl Freeze for FitAsked
impl Move for FitAsked
impl RefUnwindSafe for FitAsked
impl Send for FitAsked
impl Sync for FitAsked
impl Unpin for FitAsked
impl UnsafeUnpin for FitAsked
impl UnwindSafe for FitAsked
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