pub struct MeasureRelationship {
pub flagged_measure_part: usize,
pub flagged_measure_index: usize,
pub correct_measure_part: usize,
pub correct_measure_index: usize,
pub correction_probability: FloatType,
}Expand description
A flagged measure and the measure found to correct it, with how likely
the correction is: music21’s MeasureRelationship.
Fields§
§flagged_measure_part: usizeThe part of the flagged measure.
flagged_measure_index: usizeThe flagged measure’s index among its part’s measures.
correct_measure_part: usizeThe part of the measure correcting it.
correct_measure_index: usizeThe correcting measure’s index among its part’s measures.
correction_probability: FloatTypeHow likely the correction is.
Trait Implementations§
Source§impl Clone for MeasureRelationship
impl Clone for MeasureRelationship
impl Copy for MeasureRelationship
Source§impl Debug for MeasureRelationship
impl Debug for MeasureRelationship
Source§impl<'de> Deserialize<'de> for MeasureRelationship
Available on crate feature serde only.
impl<'de> Deserialize<'de> for MeasureRelationship
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
Source§impl PartialEq for MeasureRelationship
impl PartialEq for MeasureRelationship
Source§impl Serialize for MeasureRelationship
Available on crate feature serde only.
impl Serialize for MeasureRelationship
Available on crate feature
serde only.impl StructuralPartialEq for MeasureRelationship
Auto Trait Implementations§
impl Freeze for MeasureRelationship
impl RefUnwindSafe for MeasureRelationship
impl Send for MeasureRelationship
impl Sync for MeasureRelationship
impl Unpin for MeasureRelationship
impl UnsafeUnpin for MeasureRelationship
impl UnwindSafe for MeasureRelationship
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