#[repr(C)]pub struct SDL_ControllerSensorEvent {
pub type_: Uint32,
pub timestamp: Uint32,
pub which: SDL_JoystickID,
pub sensor: Sint32,
pub data: [f32; 3],
pub timestamp_us: Uint64,
}Fields§
§type_: Uint32§timestamp: Uint32§which: SDL_JoystickID§sensor: Sint32§data: [f32; 3]§timestamp_us: Uint64Trait Implementations§
Source§impl Clone for SDL_ControllerSensorEvent
impl Clone for SDL_ControllerSensorEvent
Source§fn clone(&self) -> SDL_ControllerSensorEvent
fn clone(&self) -> SDL_ControllerSensorEvent
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 SDL_ControllerSensorEvent
impl Debug for SDL_ControllerSensorEvent
impl Copy for SDL_ControllerSensorEvent
Auto Trait Implementations§
impl Freeze for SDL_ControllerSensorEvent
impl RefUnwindSafe for SDL_ControllerSensorEvent
impl Send for SDL_ControllerSensorEvent
impl Sync for SDL_ControllerSensorEvent
impl Unpin for SDL_ControllerSensorEvent
impl UnwindSafe for SDL_ControllerSensorEvent
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