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