Struct tinkerforge::gps_v2_bricklet::Motion
source · pub struct Motion {
pub course: u32,
pub speed: u32,
}
Fields§
§course: u32
§speed: u32
Trait Implementations§
source§impl FromByteSlice for Motion
impl FromByteSlice for Motion
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]) -> Motion
fn from_le_byte_slice(bytes: &[u8]) -> Motion
Deserialize the implementing type from a byte slice.
source§impl PartialEq for Motion
impl PartialEq for Motion
impl Copy for Motion
impl Eq for Motion
impl StructuralPartialEq for Motion
Auto Trait Implementations§
impl RefUnwindSafe for Motion
impl Send for Motion
impl Sync for Motion
impl Unpin for Motion
impl UnwindSafe for Motion
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