#[repr(C)]pub struct VeloxityFfiSensorSnapshot {Show 16 fields
pub has_imu: bool,
pub imu: VeloxityFfiImu,
pub has_mag: bool,
pub mag: VeloxityFfiMag,
pub has_baro: bool,
pub baro: VeloxityFfiBaro,
pub has_gnss: bool,
pub gnss: VeloxityFfiGnss,
pub has_airspeed: bool,
pub airspeed: VeloxityFfiAirspeed,
pub has_range: bool,
pub range: VeloxityFfiRange,
pub has_battery: bool,
pub battery: VeloxityFfiBattery,
pub has_rc: bool,
pub rc: VeloxityFfiRc,
}Fields§
§has_imu: bool§imu: VeloxityFfiImu§has_mag: bool§mag: VeloxityFfiMag§has_baro: bool§baro: VeloxityFfiBaro§has_gnss: bool§gnss: VeloxityFfiGnss§has_airspeed: bool§airspeed: VeloxityFfiAirspeed§has_range: bool§range: VeloxityFfiRange§has_battery: bool§battery: VeloxityFfiBattery§has_rc: bool§rc: VeloxityFfiRcTrait Implementations§
Source§impl Clone for VeloxityFfiSensorSnapshot
impl Clone for VeloxityFfiSensorSnapshot
Source§fn clone(&self) -> VeloxityFfiSensorSnapshot
fn clone(&self) -> VeloxityFfiSensorSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VeloxityFfiSensorSnapshot
impl Debug for VeloxityFfiSensorSnapshot
Source§impl Default for VeloxityFfiSensorSnapshot
impl Default for VeloxityFfiSensorSnapshot
Source§fn default() -> VeloxityFfiSensorSnapshot
fn default() -> VeloxityFfiSensorSnapshot
Returns the “default value” for a type. Read more
impl Copy for VeloxityFfiSensorSnapshot
Auto Trait Implementations§
impl Freeze for VeloxityFfiSensorSnapshot
impl RefUnwindSafe for VeloxityFfiSensorSnapshot
impl Send for VeloxityFfiSensorSnapshot
impl Sync for VeloxityFfiSensorSnapshot
impl Unpin for VeloxityFfiSensorSnapshot
impl UnsafeUnpin for VeloxityFfiSensorSnapshot
impl UnwindSafe for VeloxityFfiSensorSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.