pub struct UncompressedPositionEncoding<'a> {
pub messaging: bool,
pub latitude: &'a [u8],
pub symbol_table: u8,
pub longitude: &'a [u8],
pub symbol_code: u8,
pub comment: &'a [u8],
}Expand description
Uncompressed position fields for packet construction.
Fields§
§messaging: boolWhether to use the APRS messaging-capable data type identifier.
latitude: &'a [u8]Latitude bytes in APRS DDMM.mmN/S form.
symbol_table: u8Symbol table identifier byte.
longitude: &'a [u8]Longitude bytes in APRS DDDMM.mmE/W form.
symbol_code: u8Symbol code byte.
comment: &'a [u8]Optional comment bytes after the symbol code.
Trait Implementations§
Source§impl<'a> Clone for UncompressedPositionEncoding<'a>
impl<'a> Clone for UncompressedPositionEncoding<'a>
Source§fn clone(&self) -> UncompressedPositionEncoding<'a>
fn clone(&self) -> UncompressedPositionEncoding<'a>
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<'a> Debug for UncompressedPositionEncoding<'a>
impl<'a> Debug for UncompressedPositionEncoding<'a>
Source§impl<'a> PartialEq for UncompressedPositionEncoding<'a>
impl<'a> PartialEq for UncompressedPositionEncoding<'a>
Source§fn eq(&self, other: &UncompressedPositionEncoding<'a>) -> bool
fn eq(&self, other: &UncompressedPositionEncoding<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Copy for UncompressedPositionEncoding<'a>
impl<'a> Eq for UncompressedPositionEncoding<'a>
impl<'a> StructuralPartialEq for UncompressedPositionEncoding<'a>
Auto Trait Implementations§
impl<'a> Freeze for UncompressedPositionEncoding<'a>
impl<'a> RefUnwindSafe for UncompressedPositionEncoding<'a>
impl<'a> Send for UncompressedPositionEncoding<'a>
impl<'a> Sync for UncompressedPositionEncoding<'a>
impl<'a> Unpin for UncompressedPositionEncoding<'a>
impl<'a> UnsafeUnpin for UncompressedPositionEncoding<'a>
impl<'a> UnwindSafe for UncompressedPositionEncoding<'a>
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