Enum sdl2_sys::SDL_TouchDeviceType
source · [−]#[repr(i32)]
pub enum SDL_TouchDeviceType {
SDL_TOUCH_DEVICE_INVALID,
SDL_TOUCH_DEVICE_DIRECT,
SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE,
SDL_TOUCH_DEVICE_INDIRECT_RELATIVE,
}
Variants
SDL_TOUCH_DEVICE_INVALID
SDL_TOUCH_DEVICE_DIRECT
SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE
SDL_TOUCH_DEVICE_INDIRECT_RELATIVE
Trait Implementations
sourceimpl Clone for SDL_TouchDeviceType
impl Clone for SDL_TouchDeviceType
sourcefn clone(&self) -> SDL_TouchDeviceType
fn clone(&self) -> SDL_TouchDeviceType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SDL_TouchDeviceType
impl Debug for SDL_TouchDeviceType
sourceimpl Hash for SDL_TouchDeviceType
impl Hash for SDL_TouchDeviceType
impl Copy for SDL_TouchDeviceType
impl Eq for SDL_TouchDeviceType
impl StructuralEq for SDL_TouchDeviceType
impl StructuralPartialEq for SDL_TouchDeviceType
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more