pub struct GnssFixBuilder { /* private fields */ }Expand description
Builder for the optional parts of a GnssFix.
Setters take already-validated types, so GnssFixBuilder::build cannot
fail. The only builder in the kernel: many optional fields, filled per
sentence.
Implementations§
Source§impl GnssFixBuilder
impl GnssFixBuilder
Sourcepub const fn course_over_ground(self, course: TrueCourse) -> Self
pub const fn course_over_ground(self, course: TrueCourse) -> Self
Course over ground.
Sourcepub const fn speed_over_ground(self, speed: Speed) -> Self
pub const fn speed_over_ground(self, speed: Speed) -> Self
Speed over ground.
Sourcepub const fn satellites(self, count: u8) -> Self
pub const fn satellites(self, count: u8) -> Self
Satellites used.
Trait Implementations§
Source§impl Clone for GnssFixBuilder
impl Clone for GnssFixBuilder
impl Copy for GnssFixBuilder
Auto Trait Implementations§
impl Freeze for GnssFixBuilder
impl RefUnwindSafe for GnssFixBuilder
impl Send for GnssFixBuilder
impl Sync for GnssFixBuilder
impl Unpin for GnssFixBuilder
impl UnsafeUnpin for GnssFixBuilder
impl UnwindSafe for GnssFixBuilder
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