Expand description
Deprecated
Deprecated.
Fields
state: u8
Status of tracking channel
prn: u8
PRN-1 being tracked
cn0: f32
Carrier-to-noise density
Implementations
sourceimpl TrackingChannelStateDepA
impl TrackingChannelStateDepA
sourcepub fn tracking_mode(&self) -> Result<TrackingMode, u8>
pub fn tracking_mode(&self) -> Result<TrackingMode, u8>
Gets the TrackingMode stored in the state
bitfield.
Returns Ok
if the bitrange contains a known TrackingMode
variant.
Otherwise the value of the bitrange is returned as an Err(u8)
. This may be because of a malformed message,
or because new variants of TrackingMode
were added.
sourcepub fn set_tracking_mode(&mut self, tracking_mode: TrackingMode)
pub fn set_tracking_mode(&mut self, tracking_mode: TrackingMode)
Set the bitrange corresponding to the TrackingMode of the state
bitfield.
Trait Implementations
sourceimpl Clone for TrackingChannelStateDepA
impl Clone for TrackingChannelStateDepA
sourcefn clone(&self) -> TrackingChannelStateDepA
fn clone(&self) -> TrackingChannelStateDepA
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for TrackingChannelStateDepA
impl Send for TrackingChannelStateDepA
impl Sync for TrackingChannelStateDepA
impl Unpin for TrackingChannelStateDepA
impl UnwindSafe for TrackingChannelStateDepA
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more