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