pub struct ModeSAltitude {
pub altitude: u16,
pub resolution: Mode5SAltitudeResolution,
}Expand description
B.2.36 Mode S Altitude record
Fields§
§altitude: u16§resolution: Mode5SAltitudeResolutionImplementations§
Source§impl ModeSAltitude
impl ModeSAltitude
pub fn new() -> Self
pub fn builder() -> ModeSAltitudeBuilder
Trait Implementations§
Source§impl Clone for ModeSAltitude
impl Clone for ModeSAltitude
Source§fn clone(&self) -> ModeSAltitude
fn clone(&self) -> ModeSAltitude
Returns a duplicate 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 ModeSAltitude
impl Debug for ModeSAltitude
Source§impl Default for ModeSAltitude
impl Default for ModeSAltitude
Source§fn default() -> ModeSAltitude
fn default() -> ModeSAltitude
Returns the “default value” for a type. Read more
Source§impl From<&ModeSAltitude> for u16
impl From<&ModeSAltitude> for u16
Source§fn from(value: &ModeSAltitude) -> Self
fn from(value: &ModeSAltitude) -> Self
Converts to this type from the input type.
Source§impl From<u16> for ModeSAltitude
impl From<u16> for ModeSAltitude
Source§impl PartialEq for ModeSAltitude
impl PartialEq for ModeSAltitude
impl StructuralPartialEq for ModeSAltitude
Auto Trait Implementations§
impl Freeze for ModeSAltitude
impl RefUnwindSafe for ModeSAltitude
impl Send for ModeSAltitude
impl Sync for ModeSAltitude
impl Unpin for ModeSAltitude
impl UnwindSafe for ModeSAltitude
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