Struct android_sensor_sys::ASensorVector
[−]
[src]
pub struct ASensorVector { pub _bindgen_data_1_: [u32; 3], pub status: u8, pub reserved: [u8; 3], }
A sensor event.
Fields
_bindgen_data_1_: [u32; 3]
status: u8
reserved: [u8; 3]
Methods
impl ASensorVector
[src]
unsafe fn v(&mut self) -> *mut [c_float; 3]
unsafe fn x(&mut self) -> *mut c_float
unsafe fn y(&mut self) -> *mut c_float
unsafe fn z(&mut self) -> *mut c_float
unsafe fn azimuth(&mut self) -> *mut c_float
unsafe fn pitch(&mut self) -> *mut c_float
unsafe fn roll(&mut self) -> *mut c_float
Trait Implementations
impl Copy for ASensorVector
[src]
impl Clone for ASensorVector
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more