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