pub struct Note(/* private fields */);Expand description
Note pitch representation
Ranges from C-0 to B-9, only exact pitches can be represented.
Implementations§
Source§impl Note
impl Note
pub const C_0: Note
pub const Cs0: Note
pub const D_0: Note
pub const Ds0: Note
pub const E_0: Note
pub const F_0: Note
pub const Fs0: Note
pub const G_0: Note
pub const Gs0: Note
pub const A_0: Note
pub const As0: Note
pub const B_0: Note
pub const C_1: Note
pub const Cs1: Note
pub const D_1: Note
pub const Ds1: Note
pub const E_1: Note
pub const F_1: Note
pub const Fs1: Note
pub const G_1: Note
pub const Gs1: Note
pub const A_1: Note
pub const As1: Note
pub const B_1: Note
pub const C_2: Note
pub const Cs2: Note
pub const D_2: Note
pub const Ds2: Note
pub const E_2: Note
pub const F_2: Note
pub const Fs2: Note
pub const G_2: Note
pub const Gs2: Note
pub const A_2: Note
pub const As2: Note
pub const B_2: Note
pub const C_3: Note
pub const Cs3: Note
pub const D_3: Note
pub const Ds3: Note
pub const E_3: Note
pub const F_3: Note
pub const Fs3: Note
pub const G_3: Note
pub const Gs3: Note
pub const A_3: Note
pub const As3: Note
pub const B_3: Note
pub const C_4: Note
pub const Cs4: Note
pub const D_4: Note
pub const Ds4: Note
pub const E_4: Note
pub const F_4: Note
pub const Fs4: Note
pub const G_4: Note
pub const Gs4: Note
pub const A_4: Note
pub const As4: Note
pub const B_4: Note
pub const C_5: Note
pub const Cs5: Note
pub const D_5: Note
pub const Ds5: Note
pub const E_5: Note
pub const F_5: Note
pub const Fs5: Note
pub const G_5: Note
pub const Gs5: Note
pub const A_5: Note
pub const As5: Note
pub const B_5: Note
pub const C_6: Note
pub const Cs6: Note
pub const D_6: Note
pub const Ds6: Note
pub const E_6: Note
pub const F_6: Note
pub const Fs6: Note
pub const G_6: Note
pub const Gs6: Note
pub const A_6: Note
pub const As6: Note
pub const B_6: Note
pub const C_7: Note
pub const Cs7: Note
pub const D_7: Note
pub const Ds7: Note
pub const E_7: Note
pub const F_7: Note
pub const Fs7: Note
pub const G_7: Note
pub const Gs7: Note
pub const A_7: Note
pub const As7: Note
pub const B_7: Note
pub const C_8: Note
pub const Cs8: Note
pub const D_8: Note
pub const Ds8: Note
pub const E_8: Note
pub const F_8: Note
pub const Fs8: Note
pub const G_8: Note
pub const Gs8: Note
pub const A_8: Note
pub const As8: Note
pub const B_8: Note
pub const C_9: Note
pub const Cs9: Note
pub const D_9: Note
pub const Ds9: Note
pub const E_9: Note
pub const F_9: Note
pub const Fs9: Note
pub const G_9: Note
pub const Gs9: Note
pub const A_9: Note
pub const As9: Note
pub const B_9: Note
Trait Implementations§
impl Copy for Note
Auto Trait Implementations§
impl Freeze for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnwindSafe for Note
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