pub struct GpsQzssDecoder { /* private fields */ }Available on crate feature
gps only.Implementations§
Source§impl GpsQzssDecoder
impl GpsQzssDecoder
Sourcepub fn parse(&mut self, byte: GpsDataByte) -> Option<GpsQzssFrame>
pub fn parse(&mut self, byte: GpsDataByte) -> Option<GpsQzssFrame>
Parses a GPS/QZSS stream of GpsDataBytes, returns a GpsQzssFrame when one is identified and the last data word has been correctly processed.
Sourcepub fn without_parity_verification(&self) -> Self
pub fn without_parity_verification(&self) -> Self
Create a new GpsQzssDecoder that will not verify the parity bits
Trait Implementations§
Source§impl Default for GpsQzssDecoder
impl Default for GpsQzssDecoder
Source§fn default() -> Self
fn default() -> Self
Creates a default GpsQzssDecoder with parity bit verification
Auto Trait Implementations§
impl Freeze for GpsQzssDecoder
impl RefUnwindSafe for GpsQzssDecoder
impl Send for GpsQzssDecoder
impl Sync for GpsQzssDecoder
impl Unpin for GpsQzssDecoder
impl UnsafeUnpin for GpsQzssDecoder
impl UnwindSafe for GpsQzssDecoder
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