#[repr(C)]
pub struct nrf_modem_gnss_agps_data_utc { pub a1: i32, pub a0: i32, pub tot: u8, pub wn_t: u8, pub delta_tls: i8, pub wn_lsf: u8, pub dn: i8, pub delta_tlsf: i8, }
Expand description

A-GPS UTC parameters.

Fields§

§a1: i32

First order term of polynomial (sec/sec). Scale factor 2^-50. Range -8388608…8388607 (25 bits).

§a0: i32

Constant term of polynomial (sec). Scale factor 2^-30.

§tot: u8

UTC reference GPS time-of-week (sec). Scale factor 2^12. Range 0..147.

§wn_t: u8

UTC reference GPS week number modulo 256.

§delta_tls: i8

Current or past leap second count (sec).

§wn_lsf: u8

Leap second reference GPS week number modulo 256.

§dn: i8

Leap second reference GPS day-of-week (day). Range 1…7.

§delta_tlsf: i8

Current or future leap second count (sec) (total size of the type-specific assistance data).

Trait Implementations§

source§

impl Clone for nrf_modem_gnss_agps_data_utc

source§

fn clone(&self) -> nrf_modem_gnss_agps_data_utc

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for nrf_modem_gnss_agps_data_utc

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for nrf_modem_gnss_agps_data_utc

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.