Struct ublox::AidIniBuilder
source · pub struct AidIniBuilder {Show 13 fields
pub ecef_x_or_lat: i32,
pub ecef_y_or_lon: i32,
pub ecef_z_or_alt: i32,
pub pos_accuracy: u32,
pub time_cfg: u16,
pub week_or_ym: u16,
pub tow_or_hms: u32,
pub tow_ns: i32,
pub tm_accuracy_ms: u32,
pub tm_accuracy_ns: u32,
pub clk_drift_or_freq: i32,
pub clk_drift_or_freq_accuracy: u32,
pub flags: u32,
}
Expand description
Struct that is used to construct packets, see the crate-level documentation for more information
Fields§
§ecef_x_or_lat: i32
§ecef_y_or_lon: i32
§ecef_z_or_alt: i32
§pos_accuracy: u32
§time_cfg: u16
§week_or_ym: u16
§tow_or_hms: u32
§tow_ns: i32
§tm_accuracy_ms: u32
§tm_accuracy_ns: u32
§clk_drift_or_freq: i32
§clk_drift_or_freq_accuracy: u32
§flags: u32
Implementations§
source§impl AidIniBuilder
impl AidIniBuilder
pub const PACKET_LEN: usize = 56usize
pub fn into_packet_bytes(self) -> [u8; 56]
source§impl AidIniBuilder
impl AidIniBuilder
Trait Implementations§
source§impl Default for AidIniBuilder
impl Default for AidIniBuilder
source§fn default() -> AidIniBuilder
fn default() -> AidIniBuilder
Returns the “default value” for a type. Read more
source§impl From<AidIniBuilder> for [u8; 56]
impl From<AidIniBuilder> for [u8; 56]
source§fn from(x: AidIniBuilder) -> Self
fn from(x: AidIniBuilder) -> Self
Converts to this type from the input type.
source§impl UbxPacketCreator for AidIniBuilder
impl UbxPacketCreator for AidIniBuilder
source§fn create_packet<T: MemWriter>(
self,
out: &mut T
) -> Result<(), MemWriterError<T::Error>>
fn create_packet<T: MemWriter>( self, out: &mut T ) -> Result<(), MemWriterError<T::Error>>
Create packet and store bytes sequence to somewhere using
out
Auto Trait Implementations§
impl RefUnwindSafe for AidIniBuilder
impl Send for AidIniBuilder
impl Sync for AidIniBuilder
impl Unpin for AidIniBuilder
impl UnwindSafe for AidIniBuilder
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