pub enum OscillatorType {
Sine,
Square,
Sawtooth,
Triangle,
Custom,
}
Expand description
Type of the waveform rendered by an OscillatorNode
Variants§
Sine
Sine wave
Square
Square wave
Sawtooth
Sawtooth wave
Triangle
Triangle wave
Custom
type used when periodic_wave is specified
Trait Implementations§
Source§impl Clone for OscillatorType
impl Clone for OscillatorType
Source§fn clone(&self) -> OscillatorType
fn clone(&self) -> OscillatorType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OscillatorType
impl Debug for OscillatorType
Source§impl Default for OscillatorType
impl Default for OscillatorType
Source§impl From<u32> for OscillatorType
impl From<u32> for OscillatorType
Source§impl PartialEq for OscillatorType
impl PartialEq for OscillatorType
impl Copy for OscillatorType
impl Eq for OscillatorType
impl StructuralPartialEq for OscillatorType
Auto Trait Implementations§
impl Freeze for OscillatorType
impl RefUnwindSafe for OscillatorType
impl Send for OscillatorType
impl Sync for OscillatorType
impl Unpin for OscillatorType
impl UnwindSafe for OscillatorType
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