pub struct DrumCell {
pub onset: Time,
pub duration: Time,
pub key: U7,
pub velocity: U7,
pub channel: Channel,
}Expand description
A drum hit cell addressed by MIDI key.
Fields§
§onset: TimeOnset time of the hit.
duration: TimeSounding duration of the hit.
key: U7MIDI key (drum voice) struck.
velocity: U7Strike velocity.
channel: ChannelMIDI channel of the hit.
Trait Implementations§
impl Eq for DrumCell
impl StructuralPartialEq for DrumCell
Auto Trait Implementations§
impl Freeze for DrumCell
impl RefUnwindSafe for DrumCell
impl Send for DrumCell
impl Sync for DrumCell
impl Unpin for DrumCell
impl UnsafeUnpin for DrumCell
impl UnwindSafe for DrumCell
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