pub struct NoiseState {
pub period: u8,
pub any_channel_enabled: bool,
}Expand description
Noise generator state.
Fields§
§period: u8Noise period (5-bit, 0-31).
any_channel_enabled: boolWhether noise is enabled on any channel.
Trait Implementations§
Source§impl Clone for NoiseState
impl Clone for NoiseState
Source§fn clone(&self) -> NoiseState
fn clone(&self) -> NoiseState
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 NoiseState
impl Debug for NoiseState
Source§impl Default for NoiseState
impl Default for NoiseState
Source§fn default() -> NoiseState
fn default() -> NoiseState
Returns the “default value” for a type. Read more
impl Copy for NoiseState
Auto Trait Implementations§
impl Freeze for NoiseState
impl RefUnwindSafe for NoiseState
impl Send for NoiseState
impl Sync for NoiseState
impl Unpin for NoiseState
impl UnwindSafe for NoiseState
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