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§
source§impl Clone for SpreadcycleConfiguration
impl Clone for SpreadcycleConfiguration
source§fn clone(&self) -> SpreadcycleConfiguration
fn clone(&self) -> SpreadcycleConfiguration
Returns a copy 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 SpreadcycleConfiguration
impl Debug for SpreadcycleConfiguration
source§impl Default for SpreadcycleConfiguration
impl Default for SpreadcycleConfiguration
source§fn default() -> SpreadcycleConfiguration
fn default() -> SpreadcycleConfiguration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for SpreadcycleConfiguration
impl FromByteSlice for SpreadcycleConfiguration
source§fn 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.
source§fn from_le_byte_slice(bytes: &[u8]) -> SpreadcycleConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> SpreadcycleConfiguration
Deserialize the implementing type from a byte slice.
source§impl Hash for SpreadcycleConfiguration
impl Hash for SpreadcycleConfiguration
source§impl PartialEq for SpreadcycleConfiguration
impl PartialEq for SpreadcycleConfiguration
source§fn eq(&self, other: &SpreadcycleConfiguration) -> bool
fn eq(&self, other: &SpreadcycleConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpreadcycleConfiguration
impl Eq 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§
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