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