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