pub struct DecibelCallbackConfiguration {
pub period: u32,
pub value_has_to_change: bool,
pub option: char,
pub min: u16,
pub max: u16,
}
Fields§
§period: u32
§value_has_to_change: bool
§option: char
§min: u16
§max: u16
Trait Implementations§
Source§impl Clone for DecibelCallbackConfiguration
impl Clone for DecibelCallbackConfiguration
Source§fn clone(&self) -> DecibelCallbackConfiguration
fn clone(&self) -> DecibelCallbackConfiguration
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 DecibelCallbackConfiguration
impl Debug for DecibelCallbackConfiguration
Source§impl Default for DecibelCallbackConfiguration
impl Default for DecibelCallbackConfiguration
Source§fn default() -> DecibelCallbackConfiguration
fn default() -> DecibelCallbackConfiguration
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for DecibelCallbackConfiguration
impl FromByteSlice for DecibelCallbackConfiguration
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]) -> DecibelCallbackConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> DecibelCallbackConfiguration
Deserialize the implementing type from a byte slice.
Source§impl Hash for DecibelCallbackConfiguration
impl Hash for DecibelCallbackConfiguration
Source§impl PartialEq for DecibelCallbackConfiguration
impl PartialEq for DecibelCallbackConfiguration
Source§fn eq(&self, other: &DecibelCallbackConfiguration) -> bool
fn eq(&self, other: &DecibelCallbackConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for DecibelCallbackConfiguration
impl Eq for DecibelCallbackConfiguration
impl StructuralPartialEq for DecibelCallbackConfiguration
Auto Trait Implementations§
impl Freeze for DecibelCallbackConfiguration
impl RefUnwindSafe for DecibelCallbackConfiguration
impl Send for DecibelCallbackConfiguration
impl Sync for DecibelCallbackConfiguration
impl Unpin for DecibelCallbackConfiguration
impl UnwindSafe for DecibelCallbackConfiguration
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