#[repr(u16)]pub enum Note {
C3 = 851,
CSharp3 = 803,
D3 = 758,
DSharp3 = 715,
E3 = 675,
F3 = 637,
FSharp3 = 601,
G3 = 568,
GSharp3 = 536,
A3 = 506,
ASharp3 = 477,
B3 = 450,
}Expand description
A selection of note frequencies to use with the tone generators.
Variants§
C3 = 851
CSharp3 = 803
D3 = 758
DSharp3 = 715
E3 = 675
F3 = 637
FSharp3 = 601
G3 = 568
GSharp3 = 536
A3 = 506
ASharp3 = 477
B3 = 450
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnsafeUnpin 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