pub struct TouchPositionCallbackConfiguration {
pub period: u32,
pub value_has_to_change: bool,
}
Fields§
§period: u32
§value_has_to_change: bool
Trait Implementations§
Source§impl Clone for TouchPositionCallbackConfiguration
impl Clone for TouchPositionCallbackConfiguration
Source§fn clone(&self) -> TouchPositionCallbackConfiguration
fn clone(&self) -> TouchPositionCallbackConfiguration
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 Default for TouchPositionCallbackConfiguration
impl Default for TouchPositionCallbackConfiguration
Source§fn default() -> TouchPositionCallbackConfiguration
fn default() -> TouchPositionCallbackConfiguration
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for TouchPositionCallbackConfiguration
impl FromByteSlice for TouchPositionCallbackConfiguration
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]) -> TouchPositionCallbackConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> TouchPositionCallbackConfiguration
Deserialize the implementing type from a byte slice.
Source§impl PartialEq for TouchPositionCallbackConfiguration
impl PartialEq for TouchPositionCallbackConfiguration
Source§fn eq(&self, other: &TouchPositionCallbackConfiguration) -> bool
fn eq(&self, other: &TouchPositionCallbackConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for TouchPositionCallbackConfiguration
impl Eq for TouchPositionCallbackConfiguration
impl StructuralPartialEq for TouchPositionCallbackConfiguration
Auto Trait Implementations§
impl Freeze for TouchPositionCallbackConfiguration
impl RefUnwindSafe for TouchPositionCallbackConfiguration
impl Send for TouchPositionCallbackConfiguration
impl Sync for TouchPositionCallbackConfiguration
impl Unpin for TouchPositionCallbackConfiguration
impl UnwindSafe for TouchPositionCallbackConfiguration
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