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