pub struct ResistanceCallbackThreshold {
pub option: char,
pub min: i32,
pub max: i32,
}
Fields§
§option: char
§min: i32
§max: i32
Trait Implementations§
Source§impl Clone for ResistanceCallbackThreshold
impl Clone for ResistanceCallbackThreshold
Source§fn clone(&self) -> ResistanceCallbackThreshold
fn clone(&self) -> ResistanceCallbackThreshold
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 ResistanceCallbackThreshold
impl Debug for ResistanceCallbackThreshold
Source§impl Default for ResistanceCallbackThreshold
impl Default for ResistanceCallbackThreshold
Source§fn default() -> ResistanceCallbackThreshold
fn default() -> ResistanceCallbackThreshold
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for ResistanceCallbackThreshold
impl FromByteSlice for ResistanceCallbackThreshold
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]) -> ResistanceCallbackThreshold
fn from_le_byte_slice(bytes: &[u8]) -> ResistanceCallbackThreshold
Deserialize the implementing type from a byte slice.
Source§impl Hash for ResistanceCallbackThreshold
impl Hash for ResistanceCallbackThreshold
impl Copy for ResistanceCallbackThreshold
impl Eq for ResistanceCallbackThreshold
impl StructuralPartialEq for ResistanceCallbackThreshold
Auto Trait Implementations§
impl Freeze for ResistanceCallbackThreshold
impl RefUnwindSafe for ResistanceCallbackThreshold
impl Send for ResistanceCallbackThreshold
impl Sync for ResistanceCallbackThreshold
impl Unpin for ResistanceCallbackThreshold
impl UnwindSafe for ResistanceCallbackThreshold
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