#[repr(u8)]pub enum OscillatorType {
Sine = 0,
Square = 1,
Sawtooth = 2,
Triangle = 3,
}Variants§
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 Hash for OscillatorType
impl Hash for OscillatorType
Source§impl Ord for OscillatorType
impl Ord for OscillatorType
Source§fn cmp(&self, other: &OscillatorType) -> Ordering
fn cmp(&self, other: &OscillatorType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OscillatorType
impl PartialEq for OscillatorType
Source§impl PartialOrd for OscillatorType
impl PartialOrd 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