pub struct AnalogValueEvent {
pub x: u16,
pub y: u16,
}
Fields§
§x: u16
§y: u16
Trait Implementations§
Source§impl Clone for AnalogValueEvent
impl Clone for AnalogValueEvent
Source§fn clone(&self) -> AnalogValueEvent
fn clone(&self) -> AnalogValueEvent
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 AnalogValueEvent
impl Debug for AnalogValueEvent
Source§impl Default for AnalogValueEvent
impl Default for AnalogValueEvent
Source§fn default() -> AnalogValueEvent
fn default() -> AnalogValueEvent
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for AnalogValueEvent
impl FromByteSlice for AnalogValueEvent
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]) -> AnalogValueEvent
fn from_le_byte_slice(bytes: &[u8]) -> AnalogValueEvent
Deserialize the implementing type from a byte slice.
Source§impl Hash for AnalogValueEvent
impl Hash for AnalogValueEvent
Source§impl PartialEq for AnalogValueEvent
impl PartialEq for AnalogValueEvent
impl Copy for AnalogValueEvent
impl Eq for AnalogValueEvent
impl StructuralPartialEq for AnalogValueEvent
Auto Trait Implementations§
impl Freeze for AnalogValueEvent
impl RefUnwindSafe for AnalogValueEvent
impl Send for AnalogValueEvent
impl Sync for AnalogValueEvent
impl Unpin for AnalogValueEvent
impl UnwindSafe for AnalogValueEvent
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