#[repr(C)]pub struct vmeta_frame_v1_streaming_extended {Show 16 fields
pub drone_attitude: vmeta_euler,
pub location: vmeta_location,
pub altitude: f64,
pub distance_from_home: f64,
pub speed: vmeta_xyz,
pub frame_quat: vmeta_quaternion,
pub camera_pan: f32,
pub camera_tilt: f32,
pub exposure_time: f32,
pub gain: u16,
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_attitude: vmeta_euler§location: vmeta_location§altitude: f64§distance_from_home: f64§speed: vmeta_xyz§frame_quat: vmeta_quaternion§camera_pan: f32§camera_tilt: f32§exposure_time: f32§gain: u16§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_v1_streaming_extended
impl vmeta_frame_v1_streaming_extended
pub fn binning(&self) -> u32
pub fn set_binning(&mut self, val: u32)
pub fn animation(&self) -> u32
pub fn set_animation(&mut self, val: u32)
pub fn new_bitfield_1( binning: u32, animation: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for vmeta_frame_v1_streaming_extended
impl Clone for vmeta_frame_v1_streaming_extended
Source§fn clone(&self) -> vmeta_frame_v1_streaming_extended
fn clone(&self) -> vmeta_frame_v1_streaming_extended
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 moreimpl Copy for vmeta_frame_v1_streaming_extended
Auto Trait Implementations§
impl Freeze for vmeta_frame_v1_streaming_extended
impl RefUnwindSafe for vmeta_frame_v1_streaming_extended
impl Send for vmeta_frame_v1_streaming_extended
impl Sync for vmeta_frame_v1_streaming_extended
impl Unpin for vmeta_frame_v1_streaming_extended
impl UnwindSafe for vmeta_frame_v1_streaming_extended
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