pub struct TimedNote {
pub on: u64,
pub off: u64,
pub index: usize,
}Expand description
A note as events time it.
Fields§
§on: u64The tick it starts on.
off: u64The tick it stops on.
index: usizeWhere its note-on stands in the list.
Trait Implementations§
impl Copy for TimedNote
impl Eq for TimedNote
impl StructuralPartialEq for TimedNote
Auto Trait Implementations§
impl Forget for TimedNote
impl Freeze for TimedNote
impl Move for TimedNote
impl RefUnwindSafe for TimedNote
impl Send for TimedNote
impl Sync for TimedNote
impl Unpin for TimedNote
impl UnsafeUnpin for TimedNote
impl UnwindSafe for TimedNote
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