#[repr(transparent)]pub struct SDL_FingerID(pub Uint64);Expand description
A unique ID for a single finger on a touch device.
This ID is valid for the time the finger (stylus, etc) is touching and will be unique for all fingers currently in contact, so this ID tracks the lifetime of a single continuous touch. This value may represent an index, a pointer, or some other unique ID, depending on the platform.
The value 0 is an invalid ID.
§Availability
This datatype is available since SDL 3.2.0.
Tuple Fields§
§0: Uint64Trait Implementations§
Source§impl Clone for SDL_FingerID
impl Clone for SDL_FingerID
Source§fn clone(&self) -> SDL_FingerID
fn clone(&self) -> SDL_FingerID
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 Debug for SDL_FingerID
impl Debug for SDL_FingerID
Source§impl Default for SDL_FingerID
impl Default for SDL_FingerID
Source§fn default() -> SDL_FingerID
fn default() -> SDL_FingerID
Returns the “default value” for a type. Read more
Source§impl From<SDL_FingerID> for Uint64
impl From<SDL_FingerID> for Uint64
Source§fn from(value: SDL_FingerID) -> Self
fn from(value: SDL_FingerID) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_FingerID
Available on crate feature metadata only.
impl GroupMetadata for SDL_FingerID
Available on crate feature
metadata only.Source§const GROUP_METADATA: &'static Group
const GROUP_METADATA: &'static Group
Metadata for this group
Source§impl Hash for SDL_FingerID
impl Hash for SDL_FingerID
Source§impl Ord for SDL_FingerID
impl Ord for SDL_FingerID
Source§fn cmp(&self, other: &SDL_FingerID) -> Ordering
fn cmp(&self, other: &SDL_FingerID) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<SDL_FingerID> for Uint64
impl PartialEq<SDL_FingerID> for Uint64
Source§impl PartialEq<u64> for SDL_FingerID
impl PartialEq<u64> for SDL_FingerID
Source§impl PartialEq for SDL_FingerID
impl PartialEq for SDL_FingerID
Source§impl PartialOrd for SDL_FingerID
impl PartialOrd for SDL_FingerID
impl Copy for SDL_FingerID
impl Eq for SDL_FingerID
impl StructuralPartialEq for SDL_FingerID
Auto Trait Implementations§
impl Freeze for SDL_FingerID
impl RefUnwindSafe for SDL_FingerID
impl Send for SDL_FingerID
impl Sync for SDL_FingerID
impl Unpin for SDL_FingerID
impl UnwindSafe for SDL_FingerID
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