#[repr(i32)]pub enum SDL_TouchDeviceType {
SDL_TOUCH_DEVICE_INVALID = -1,
SDL_TOUCH_DEVICE_DIRECT = 0,
SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE = 1,
SDL_TOUCH_DEVICE_INDIRECT_RELATIVE = 2,
}
Variants§
SDL_TOUCH_DEVICE_INVALID = -1
SDL_TOUCH_DEVICE_DIRECT = 0
SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE = 1
SDL_TOUCH_DEVICE_INDIRECT_RELATIVE = 2
Trait Implementations§
Source§impl Clone for SDL_TouchDeviceType
impl Clone for SDL_TouchDeviceType
Source§fn clone(&self) -> SDL_TouchDeviceType
fn clone(&self) -> SDL_TouchDeviceType
Returns a copy 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 Hash for SDL_TouchDeviceType
impl Hash for SDL_TouchDeviceType
Source§impl PartialEq for SDL_TouchDeviceType
impl PartialEq for SDL_TouchDeviceType
impl Copy for SDL_TouchDeviceType
impl Eq for SDL_TouchDeviceType
impl StructuralPartialEq for SDL_TouchDeviceType
Auto Trait Implementations§
impl Freeze for SDL_TouchDeviceType
impl RefUnwindSafe for SDL_TouchDeviceType
impl Send for SDL_TouchDeviceType
impl Sync for SDL_TouchDeviceType
impl Unpin for SDL_TouchDeviceType
impl UnwindSafe for SDL_TouchDeviceType
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