#[repr(u8)]pub enum SoundWaveform {
kWaveformSquare = 0,
kWaveformTriangle = 1,
kWaveformSine = 2,
kWaveformNoise = 3,
kWaveformSawtooth = 4,
kWaveformPOPhase = 5,
kWaveformPODigital = 6,
kWaveformPOVosim = 7,
}Variants§
kWaveformSquare = 0
kWaveformTriangle = 1
kWaveformSine = 2
kWaveformNoise = 3
kWaveformSawtooth = 4
kWaveformPOPhase = 5
kWaveformPODigital = 6
kWaveformPOVosim = 7
Trait Implementations§
Source§impl Clone for SoundWaveform
impl Clone for SoundWaveform
Source§fn clone(&self) -> SoundWaveform
fn clone(&self) -> SoundWaveform
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SoundWaveform
impl Debug for SoundWaveform
Source§impl Hash for SoundWaveform
impl Hash for SoundWaveform
Source§impl Ord for SoundWaveform
impl Ord for SoundWaveform
Source§impl PartialEq for SoundWaveform
impl PartialEq for SoundWaveform
Source§impl PartialOrd for SoundWaveform
impl PartialOrd for SoundWaveform
Source§fn partial_cmp(&self, other: &SoundWaveform) -> Option<Ordering>
fn partial_cmp(&self, other: &SoundWaveform) -> Option<Ordering>
impl Copy for SoundWaveform
impl Eq for SoundWaveform
impl StructuralPartialEq for SoundWaveform
Auto Trait Implementations§
impl Freeze for SoundWaveform
impl RefUnwindSafe for SoundWaveform
impl Send for SoundWaveform
impl Sync for SoundWaveform
impl Unpin for SoundWaveform
impl UnwindSafe for SoundWaveform
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
kWaveformSquare: 0 byteskWaveformTriangle: 0 byteskWaveformSine: 0 byteskWaveformNoise: 0 byteskWaveformSawtooth: 0 byteskWaveformPOPhase: 0 byteskWaveformPODigital: 0 byteskWaveformPOVosim: 0 bytes