pub struct TranscribedNote {
pub note: usize,
pub quarter_length: FloatType,
pub kept: bool,
}Expand description
What one note of a transcription is given: the by-position twin of
notes_and_durations_to_stream.
Fields§
§note: usizeWhich of the notes given it is.
quarter_length: FloatTypeHow long it is to last, in quarters.
kept: boolWhether it goes into the part: a rest before the first note is left out where the caller asked for that.
Trait Implementations§
Source§impl Clone for TranscribedNote
impl Clone for TranscribedNote
impl Copy for TranscribedNote
Source§impl Debug for TranscribedNote
impl Debug for TranscribedNote
Source§impl<'de> Deserialize<'de> for TranscribedNote
Available on crate feature serde only.
impl<'de> Deserialize<'de> for TranscribedNote
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 TranscribedNote
impl PartialEq for TranscribedNote
Source§impl Serialize for TranscribedNote
Available on crate feature serde only.
impl Serialize for TranscribedNote
Available on crate feature
serde only.impl StructuralPartialEq for TranscribedNote
Auto Trait Implementations§
impl Forget for TranscribedNote
impl Freeze for TranscribedNote
impl RefUnwindSafe for TranscribedNote
impl Send for TranscribedNote
impl Sync for TranscribedNote
impl Unpin for TranscribedNote
impl UnsafeUnpin for TranscribedNote
impl UnwindSafe for TranscribedNote
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