[][src]Struct nmea_parser::NmeaStore

pub struct NmeaStore { /* fields omitted */ }

Used to store partial sentences between function calls.

Implementations

impl NmeaStore[src]

pub fn new() -> NmeaStore[src]

Default constructor.

pub fn push_string(&mut self, key: String, value: String)[src]

Push string-to-string mapping to store.

pub fn pull_string(&mut self, key: String) -> Option<String>[src]

Pull string-to-string mapping by key from store.

pub fn contains_key(&mut self, key: String) -> bool[src]

Tests whether the given string-to-string mapping exists in the store.

pub fn strings_count(&self) -> usize[src]

Return number of string-to-string mappings stored.

pub fn push_vsd(&mut self, mmsi: u32, vsd: VesselStaticData)[src]

Push MMSI-to-VesselStaticData mapping to store.

pub fn pull_vsd(&mut self, mmsi: u32) -> Option<VesselStaticData>[src]

Pull MMSI-to-VesselStaticData mapping from store.

pub fn vsds_count(&self) -> usize[src]

Return number of MMSI-to-VesselStaticData mappings in store.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.