#[repr(C)]pub struct ThumbstickEvent {
pub __base: IDEvent,
pub xValue: i32,
pub yValue: i32,
}
Fields§
§__base: IDEvent
§xValue: i32
§yValue: i32
Implementations§
Source§impl ThumbstickEvent
impl ThumbstickEvent
Sourcepub const VTABLE: [VariantID; 1] = VTABLE_ThumbstickEvent
pub const VTABLE: [VariantID; 1] = VTABLE_ThumbstickEvent
Address & offset of Virtual function table.
Sourcepub fn vtable() -> Result<&'static ThumbstickEventVtbl, DataBaseError>
pub fn vtable() -> Result<&'static ThumbstickEventVtbl, DataBaseError>
§Errors
pub fn init_with_xy(&mut self, id: InputType, x: i32, y: i32)
pub fn init_with_xy_device( &mut self, id: InputType, device: INPUT_DEVICE, x: i32, y: i32, )
pub fn init_with_xy_event( &mut self, id: InputType, device: INPUT_DEVICE, x: i32, y: i32, user_event: BSFixedString, )
Trait Implementations§
Source§impl Debug for ThumbstickEvent
impl Debug for ThumbstickEvent
Source§impl PartialEq for ThumbstickEvent
impl PartialEq for ThumbstickEvent
impl StructuralPartialEq for ThumbstickEvent
Auto Trait Implementations§
impl Freeze for ThumbstickEvent
impl RefUnwindSafe for ThumbstickEvent
impl !Send for ThumbstickEvent
impl !Sync for ThumbstickEvent
impl Unpin for ThumbstickEvent
impl UnwindSafe for ThumbstickEvent
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