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