#[non_exhaustive]pub enum OscMode {
SingleOsc1,
DualOscs,
SingleOsc2,
}Expand description
Oscillator mode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SingleOsc1
Single oscillator using OSC1.
DualOscs
Dual oscillator.
SingleOsc2
Single oscillator using OSC2.
Trait Implementations§
Source§impl From<OscMode> for TrngEntCtl
impl From<OscMode> for TrngEntCtl
impl Copy for OscMode
Auto Trait Implementations§
impl Freeze for OscMode
impl RefUnwindSafe for OscMode
impl Send for OscMode
impl Sync for OscMode
impl Unpin for OscMode
impl UnwindSafe for OscMode
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