Struct ndk_sys::ASensorEvent
source · #[repr(C)]pub struct ASensorEvent {
pub version: i32,
pub sensor: i32,
pub type_: i32,
pub reserved0: i32,
pub timestamp: i64,
pub __bindgen_anon_1: ASensorEvent__bindgen_ty_1,
pub flags: u32,
pub reserved1: [i32; 3],
}
Fields
version: i32
sensor: i32
type_: i32
reserved0: i32
timestamp: i64
__bindgen_anon_1: ASensorEvent__bindgen_ty_1
flags: u32
reserved1: [i32; 3]
Trait Implementations
sourceimpl Clone for ASensorEvent
impl Clone for ASensorEvent
sourcefn clone(&self) -> ASensorEvent
fn clone(&self) -> ASensorEvent
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 moreimpl Copy for ASensorEvent
Auto Trait Implementations
impl RefUnwindSafe for ASensorEvent
impl Send for ASensorEvent
impl Sync for ASensorEvent
impl Unpin for ASensorEvent
impl UnwindSafe for ASensorEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more