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