pub struct InputIndex(/* private fields */);Expand description
Strong zero-based input index limited by the official per-device maximum.
Implementations§
Trait Implementations§
Source§impl Clone for InputIndex
impl Clone for InputIndex
Source§fn clone(&self) -> InputIndex
fn clone(&self) -> InputIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InputIndex
Source§impl Debug for InputIndex
impl Debug for InputIndex
impl Eq for InputIndex
Source§impl Hash for InputIndex
impl Hash for InputIndex
Source§impl Ord for InputIndex
impl Ord for InputIndex
Source§fn cmp(&self, other: &InputIndex) -> Ordering
fn cmp(&self, other: &InputIndex) -> Ordering
1.21.0 (const: unstable) · 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 for InputIndex
impl PartialEq for InputIndex
Source§impl PartialOrd for InputIndex
impl PartialOrd for InputIndex
impl StructuralPartialEq for InputIndex
Auto Trait Implementations§
impl Freeze for InputIndex
impl RefUnwindSafe for InputIndex
impl Send for InputIndex
impl Sync for InputIndex
impl Unpin for InputIndex
impl UnsafeUnpin for InputIndex
impl UnwindSafe for InputIndex
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