pub struct PositionCallbackThreshold {
pub option: char,
pub min_x: i16,
pub max_x: i16,
pub min_y: i16,
pub max_y: i16,
}
Fields
option: char
min_x: i16
max_x: i16
min_y: i16
max_y: i16
Trait Implementations
sourceimpl Clone for PositionCallbackThreshold
impl Clone for PositionCallbackThreshold
sourcefn clone(&self) -> PositionCallbackThreshold
fn clone(&self) -> PositionCallbackThreshold
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PositionCallbackThreshold
impl Debug for PositionCallbackThreshold
sourceimpl Default for PositionCallbackThreshold
impl Default for PositionCallbackThreshold
sourcefn default() -> PositionCallbackThreshold
fn default() -> PositionCallbackThreshold
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for PositionCallbackThreshold
impl FromByteSlice for PositionCallbackThreshold
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> PositionCallbackThreshold
fn from_le_bytes(bytes: &[u8]) -> PositionCallbackThreshold
Deserialize the implementing type from a byte slice.
sourceimpl Hash for PositionCallbackThreshold
impl Hash for PositionCallbackThreshold
sourceimpl PartialEq<PositionCallbackThreshold> for PositionCallbackThreshold
impl PartialEq<PositionCallbackThreshold> for PositionCallbackThreshold
sourcefn eq(&self, other: &PositionCallbackThreshold) -> bool
fn eq(&self, other: &PositionCallbackThreshold) -> bool
impl Copy for PositionCallbackThreshold
impl Eq for PositionCallbackThreshold
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more