pub enum CompressedCs {
CourseSpeed(CourseSpeed, CompressionType),
RadioRange(RadioRange, CompressionType),
Altitude(CompressedAltitude, CompressionType),
None(CompressionType),
}Expand description
The csT block in a compressed position, which encodes course/speed, radio range, or altitude.
Variants§
CourseSpeed(CourseSpeed, CompressionType)
RadioRange(RadioRange, CompressionType)
Altitude(CompressedAltitude, CompressionType)
None(CompressionType)
Space character: csT is present but carries no data.
Implementations§
Source§impl CompressedCs
impl CompressedCs
pub fn compression_type(&self) -> CompressionType
Trait Implementations§
Source§impl Clone for CompressedCs
impl Clone for CompressedCs
Source§fn clone(&self) -> CompressedCs
fn clone(&self) -> CompressedCs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompressedCs
impl Debug for CompressedCs
Source§impl PartialEq for CompressedCs
impl PartialEq for CompressedCs
Source§fn eq(&self, other: &CompressedCs) -> bool
fn eq(&self, other: &CompressedCs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompressedCs
Auto Trait Implementations§
impl Freeze for CompressedCs
impl RefUnwindSafe for CompressedCs
impl Send for CompressedCs
impl Sync for CompressedCs
impl Unpin for CompressedCs
impl UnsafeUnpin for CompressedCs
impl UnwindSafe for CompressedCs
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