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