pub enum Laid {
Delta {
ticks: i64,
channel: Option<u8>,
},
Event {
event: ReadEvent,
cent_shift: Option<IntegerType>,
},
}Expand description
One entry of a translated list: a delta time or an event.
Variants§
Delta
Ticks waited, and the channel music21 gives the delta time where it gives one.
Fields
Event
An event, and the cents its note is bent by where it is between the keys.
Trait Implementations§
impl StructuralPartialEq for Laid
Auto Trait Implementations§
impl Forget for Laid
impl Freeze for Laid
impl Move for Laid
impl RefUnwindSafe for Laid
impl Send for Laid
impl Sync for Laid
impl Unpin for Laid
impl UnsafeUnpin for Laid
impl UnwindSafe for Laid
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