#[repr(C)]pub struct sfSensorEvent {
pub type_: sfEventType,
pub sensorType: sfSensorType,
pub x: f32,
pub y: f32,
pub z: f32,
}
Fields§
§type_: sfEventType
§sensorType: sfSensorType
§x: f32
§y: f32
§z: f32
Trait Implementations§
Source§impl Clone for sfSensorEvent
impl Clone for sfSensorEvent
Source§fn clone(&self) -> sfSensorEvent
fn clone(&self) -> sfSensorEvent
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 sfSensorEvent
impl Debug for sfSensorEvent
Source§impl PartialEq for sfSensorEvent
impl PartialEq for sfSensorEvent
Source§impl PartialOrd for sfSensorEvent
impl PartialOrd for sfSensorEvent
impl Copy for sfSensorEvent
impl StructuralPartialEq for sfSensorEvent
Auto Trait Implementations§
impl Freeze for sfSensorEvent
impl RefUnwindSafe for sfSensorEvent
impl Send for sfSensorEvent
impl Sync for sfSensorEvent
impl Unpin for sfSensorEvent
impl UnwindSafe for sfSensorEvent
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