pub enum NmeaMessage {
GGA(GgaData),
RMC(RmcData),
GSA(GsaData),
GSV(GsvData),
GLL(GllData),
VTG(VtgData),
GNS(GnsData),
}Expand description
Parsed NMEA message with associated data
Variants§
Implementations§
Source§impl NmeaMessage
impl NmeaMessage
Sourcepub fn message_type(&self) -> MessageType
pub fn message_type(&self) -> MessageType
Get the message type
Trait Implementations§
Source§impl Clone for NmeaMessage
impl Clone for NmeaMessage
Source§fn clone(&self) -> NmeaMessage
fn clone(&self) -> NmeaMessage
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 moreAuto Trait Implementations§
impl Freeze for NmeaMessage
impl RefUnwindSafe for NmeaMessage
impl Send for NmeaMessage
impl Sync for NmeaMessage
impl Unpin for NmeaMessage
impl UnwindSafe for NmeaMessage
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