pub struct Octave(/* private fields */);Expand description
A note’s octave in MIDI.
Implementations§
Source§impl Octave
impl Octave
Sourcepub const NEGATIVE_ONE: Self
pub const NEGATIVE_ONE: Self
Octave -1
pub fn new_unchecked(num: i8) -> Self
Trait Implementations§
Source§impl Ord for Octave
impl Ord for Octave
Source§impl PartialOrd for Octave
impl PartialOrd for Octave
impl Copy for Octave
impl Eq for Octave
impl StructuralPartialEq for Octave
Auto Trait Implementations§
impl Freeze for Octave
impl RefUnwindSafe for Octave
impl Send for Octave
impl Sync for Octave
impl Unpin for Octave
impl UnwindSafe for Octave
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