pub struct SpreadcycleConfiguration {
pub slow_decay_duration: u8,
pub enable_random_slow_decay: bool,
pub fast_decay_duration: u8,
pub hysteresis_start_value: u8,
pub hysteresis_end_value: i8,
pub sine_wave_offset: i8,
pub chopper_mode: u8,
pub comparator_blank_time: u8,
pub fast_decay_without_comparator: bool,
}
Fields
slow_decay_duration: u8
enable_random_slow_decay: bool
fast_decay_duration: u8
hysteresis_start_value: u8
hysteresis_end_value: i8
sine_wave_offset: i8
chopper_mode: u8
comparator_blank_time: u8
fast_decay_without_comparator: bool
Trait Implementations
sourceimpl Clone for SpreadcycleConfiguration
impl Clone for SpreadcycleConfiguration
sourcefn clone(&self) -> SpreadcycleConfiguration
fn clone(&self) -> SpreadcycleConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SpreadcycleConfiguration
impl Debug for SpreadcycleConfiguration
sourceimpl Default for SpreadcycleConfiguration
impl Default for SpreadcycleConfiguration
sourcefn default() -> SpreadcycleConfiguration
fn default() -> SpreadcycleConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for SpreadcycleConfiguration
impl FromByteSlice for SpreadcycleConfiguration
sourcefn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
sourcefn from_le_bytes(bytes: &[u8]) -> SpreadcycleConfiguration
fn from_le_bytes(bytes: &[u8]) -> SpreadcycleConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for SpreadcycleConfiguration
impl Hash for SpreadcycleConfiguration
sourceimpl PartialEq<SpreadcycleConfiguration> for SpreadcycleConfiguration
impl PartialEq<SpreadcycleConfiguration> for SpreadcycleConfiguration
sourcefn eq(&self, other: &SpreadcycleConfiguration) -> bool
fn eq(&self, other: &SpreadcycleConfiguration) -> bool
impl Copy for SpreadcycleConfiguration
impl Eq for SpreadcycleConfiguration
impl StructuralEq for SpreadcycleConfiguration
impl StructuralPartialEq for SpreadcycleConfiguration
Auto Trait Implementations
impl RefUnwindSafe for SpreadcycleConfiguration
impl Send for SpreadcycleConfiguration
impl Sync for SpreadcycleConfiguration
impl Unpin for SpreadcycleConfiguration
impl UnwindSafe for SpreadcycleConfiguration
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