pub struct Freq(/* private fields */);
Implementations§
Source§impl Freq
impl Freq
pub const ZERO: Self = _
pub const CS0: Self = _
pub const D0: Self = _
pub const DS0: Self = _
pub const E0: Self = _
pub const F0: Self = _
pub const FS0: Self = _
pub const G0: Self = _
pub const GS0: Self = _
pub const AS0: Self = _
pub const CS1: Self = _
pub const D1: Self = _
pub const DS1: Self = _
pub const F1: Self = _
pub const FS1: Self = _
pub const G1: Self = _
pub const GS1: Self = _
pub const A1: Self = _
pub const AS1: Self = _
pub const B1: Self = _
pub const C2: Self = _
pub const CS2: Self = _
pub const D2: Self = _
pub const DS2: Self = _
pub const F2: Self = _
pub const FS2: Self = _
pub const G2: Self = _
pub const GS2: Self = _
pub const A2: Self = _
pub const AS2: Self = _
pub const B2: Self = _
pub const C3: Self = _
pub const CS3: Self = _
pub const D3: Self = _
pub const DS3: Self = _
pub const E3: Self = _
pub const F3: Self = _
pub const FS3: Self = _
pub const GS3: Self = _
pub const A3: Self = _
pub const AS3: Self = _
pub const B3: Self = _
pub const CS4: Self = _
pub const D4: Self = _
pub const DS4: Self = _
pub const E4: Self = _
pub const F4: Self = _
pub const FS4: Self = _
pub const G4: Self = _
pub const GS4: Self = _
pub const AS4: Self = _
pub const B4: Self = _
pub const C5: Self = _
pub const CS5: Self = _
pub const D5: Self = _
pub const DS5: Self = _
pub const E5: Self = _
pub const F5: Self = _
pub const FS5: Self = _
pub const G5: Self = _
pub const GS5: Self = _
pub const A5: Self = _
pub const AS5: Self = _
pub const B5: Self = _
pub const C6: Self = _
pub const CS6: Self = _
pub const D6: Self = _
pub const DS6: Self = _
pub const E6: Self = _
pub const F6: Self = _
pub const FS6: Self = _
pub const G6: Self = _
pub const GS6: Self = _
pub const A6: Self = _
pub const AS6: Self = _
pub const B6: Self = _
pub const C7: Self = _
pub const CS7: Self = _
pub const D7: Self = _
pub const DS7: Self = _
pub const E7: Self = _
pub const F7: Self = _
pub const FS7: Self = _
pub const G7: Self = _
pub const GS7: Self = _
pub const A7: Self = _
pub const AS7: Self = _
pub const B7: Self = _
pub const CS8: Self = _
pub const D8: Self = _
pub const DS8: Self = _
pub const E8: Self = _
pub const F8: Self = _
pub const FS8: Self = _
pub const G8: Self = _
pub const GS8: Self = _
pub const A8: Self = _
pub const AS8: Self = _
pub const B8: Self = _
pub const C9: Self = _
pub const CS9: Self = _
pub const D9: Self = _
pub const DS9: Self = _
pub const E9: Self = _
pub const F9: Self = _
pub const FS9: Self = _
pub const G9: Self = _
pub const A9: Self = _
pub const AS9: Self = _
pub fn hz(hz: f32) -> Self
pub fn midi(note: u8) -> Self
pub fn note(pitch: Pitch, octave: u8) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Freq
impl RefUnwindSafe for Freq
impl Send for Freq
impl Sync for Freq
impl Unpin for Freq
impl UnwindSafe for Freq
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