#[repr(C)]pub struct vmeta_frame_v3_base {Show 21 fields
pub drone_quat: vmeta_quaternion,
pub location: vmeta_location,
pub ground_distance: f64,
pub speed: vmeta_ned,
pub air_speed: f32,
pub frame_base_quat: vmeta_quaternion,
pub frame_quat: vmeta_quaternion,
pub exposure_time: f32,
pub gain: u16,
pub awb_r_gain: f32,
pub awb_b_gain: f32,
pub picture_hfov: f32,
pub picture_vfov: f32,
pub link_goodput: u32,
pub link_quality: i8,
pub wifi_rssi: i8,
pub battery_percentage: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub state: vmeta_flying_state,
pub mode: vmeta_piloting_mode,
}Fields§
§drone_quat: vmeta_quaternion§location: vmeta_location§ground_distance: f64§speed: vmeta_ned§air_speed: f32§frame_base_quat: vmeta_quaternion§frame_quat: vmeta_quaternion§exposure_time: f32§gain: u16§awb_r_gain: f32§awb_b_gain: f32§picture_hfov: f32§picture_vfov: f32§link_goodput: u32§link_quality: i8§wifi_rssi: i8§battery_percentage: u8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§state: vmeta_flying_state§mode: vmeta_piloting_modeImplementations§
Source§impl vmeta_frame_v3_base
impl vmeta_frame_v3_base
pub fn animation(&self) -> u32
pub fn set_animation(&mut self, val: u32)
pub fn new_bitfield_1(animation: u32) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for vmeta_frame_v3_base
impl Clone for vmeta_frame_v3_base
Source§fn clone(&self) -> vmeta_frame_v3_base
fn clone(&self) -> vmeta_frame_v3_base
Returns a duplicate of the value. Read more
1.0.0 · 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 vmeta_frame_v3_base
impl Debug for vmeta_frame_v3_base
impl Copy for vmeta_frame_v3_base
Auto Trait Implementations§
impl Freeze for vmeta_frame_v3_base
impl RefUnwindSafe for vmeta_frame_v3_base
impl Send for vmeta_frame_v3_base
impl Sync for vmeta_frame_v3_base
impl Unpin for vmeta_frame_v3_base
impl UnwindSafe for vmeta_frame_v3_base
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