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§
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
impl Copy for PositionCallbackThreshold
impl Eq for PositionCallbackThreshold
impl StructuralPartialEq for PositionCallbackThreshold
Auto Trait Implementations§
impl Freeze for PositionCallbackThreshold
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