pub enum WAVE2R {
DISABLED,
NOISE,
TRIANGLE,
_Reserved(u8),
}
Expand description
Possible values of the field WAVE2
Variants
DISABLED
Wave generation disabled
NOISE
Noise wave generation enabled
TRIANGLE
Triangle wave generation enabled
_Reserved(u8)
Reserved
Implementations
impl WAVE2R
impl WAVE2R
pub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
pub fn is_triangle(&self) -> bool
pub fn is_triangle(&self) -> bool
Checks if the value of the field is TRIANGLE
Trait Implementations
impl Copy for WAVE2R
impl StructuralPartialEq for WAVE2R
Auto Trait Implementations
impl RefUnwindSafe for WAVE2R
impl Send for WAVE2R
impl Sync for WAVE2R
impl Unpin for WAVE2R
impl UnwindSafe for WAVE2R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more