Enum sdl2_sys::SDL_TouchDeviceType
source · #[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
source§fn eq(&self, other: &SDL_TouchDeviceType) -> bool
fn eq(&self, other: &SDL_TouchDeviceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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