#[repr(C)]pub struct SDL_VirtualJoystickTouchpadDesc {
pub nfingers: Uint16,
pub padding: [Uint16; 3],
}Expand description
The structure that describes a virtual joystick touchpad.
Available Since: This struct is available since SDL 3.2.0.
See Also: SDL_VirtualJoystickDesc
Fields§
§nfingers: Uint16< the number of simultaneous fingers on this touchpad
padding: [Uint16; 3]Trait Implementations§
Source§impl Clone for SDL_VirtualJoystickTouchpadDesc
impl Clone for SDL_VirtualJoystickTouchpadDesc
Source§fn clone(&self) -> SDL_VirtualJoystickTouchpadDesc
fn clone(&self) -> SDL_VirtualJoystickTouchpadDesc
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 Default for SDL_VirtualJoystickTouchpadDesc
impl Default for SDL_VirtualJoystickTouchpadDesc
Source§fn default() -> SDL_VirtualJoystickTouchpadDesc
fn default() -> SDL_VirtualJoystickTouchpadDesc
Returns the “default value” for a type. Read more
impl Copy for SDL_VirtualJoystickTouchpadDesc
Auto Trait Implementations§
impl Freeze for SDL_VirtualJoystickTouchpadDesc
impl RefUnwindSafe for SDL_VirtualJoystickTouchpadDesc
impl Send for SDL_VirtualJoystickTouchpadDesc
impl Sync for SDL_VirtualJoystickTouchpadDesc
impl Unpin for SDL_VirtualJoystickTouchpadDesc
impl UnsafeUnpin for SDL_VirtualJoystickTouchpadDesc
impl UnwindSafe for SDL_VirtualJoystickTouchpadDesc
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