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