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