#[repr(u8)]pub enum Channel {
Pulse1,
Pulse2,
Triangle,
Noise,
}
Expand description
Tone channel (waveform type).
Variants§
Pulse1
First type of square wave.
Pulse2
Second type of square wave.
Triangle
Triangle wave.
Noise
Noise.
Trait Implementations§
source§impl PartialEq<Channel> for Channel
impl PartialEq<Channel> for Channel
impl Copy for Channel
impl Eq for Channel
impl StructuralEq for Channel
impl StructuralPartialEq for Channel
Auto Trait Implementations§
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
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