pub struct ScaleDegreeCell {
pub onset: Time,
pub duration: Time,
pub degree: i16,
pub octave: i8,
pub velocity: U7,
pub channel: Channel,
}Expand description
A note addressed by scale degree and octave rather than absolute pitch.
Fields§
§onset: TimeOnset time of the cell.
duration: TimeSounding duration of the cell.
degree: i16Scale degree, relative to the prevailing scale.
octave: i8Octave offset applied to the degree.
velocity: U7Strike velocity.
channel: ChannelMIDI channel of the cell.
Trait Implementations§
Source§impl Clone for ScaleDegreeCell
impl Clone for ScaleDegreeCell
Source§fn clone(&self) -> ScaleDegreeCell
fn clone(&self) -> ScaleDegreeCell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScaleDegreeCell
impl Debug for ScaleDegreeCell
impl Eq for ScaleDegreeCell
Source§impl PartialEq for ScaleDegreeCell
impl PartialEq for ScaleDegreeCell
impl StructuralPartialEq for ScaleDegreeCell
Auto Trait Implementations§
impl Freeze for ScaleDegreeCell
impl RefUnwindSafe for ScaleDegreeCell
impl Send for ScaleDegreeCell
impl Sync for ScaleDegreeCell
impl Unpin for ScaleDegreeCell
impl UnsafeUnpin for ScaleDegreeCell
impl UnwindSafe for ScaleDegreeCell
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