[−][src]Enum input_linux::AbsoluteAxis
Absolute axes.
Variants
MT slot being modified
Major axis of touching ellipse
Minor axis (omit if circular)
Major axis of approaching ellipse
Minor axis (omit if circular)
Ellipse orientation
Center X touch position
Center Y touch position
Type of touching device
Group a set of packets as a blob
Unique ID of initiated contact
Pressure on contact area
Contact hover distance
Center X tool position
Center Y tool position
Implementations
impl AbsoluteAxis
[src]
pub const COUNT: usize
[src]
The maximum valid value.
pub fn iter() -> EnumIterator<Self>ⓘImportant traits for EnumIterator<T>
impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
[src]
Important traits for EnumIterator<T>
impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
An iterator over all values of the enum.
pub fn bitmask() -> Bitmask<Self>
[src]
A bitmask that can contain all values of the enum.
impl AbsoluteAxis
[src]
pub fn from_code(code: u16) -> Result<Self, RangeError>
[src]
Instantiates the enum from a raw code value.
Trait Implementations
impl BitmaskTrait for AbsoluteAxis
[src]
type Array = [u8; 8]
The underlying array storage data type.
type Index = AbsoluteAxis
The type that the bitmask can be indexed by.
const ZERO: Self::Array
[src]
fn array_default() -> Self::Array
[src]
fn array_slice(array: &Self::Array) -> &[u8]
[src]
fn array_slice_mut(array: &mut Self::Array) -> &mut [u8]
[src]
fn index(index: Self::Index) -> usize
[src]
fn index_valid(_array: &Self::Array, _index: Self::Index) -> bool
[src]
impl Clone for AbsoluteAxis
[src]
fn clone(&self) -> AbsoluteAxis
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AbsoluteAxis
[src]
impl Debug for AbsoluteAxis
[src]
impl Eq for AbsoluteAxis
[src]
impl From<AbsoluteAxis> for u16
[src]
fn from(v: AbsoluteAxis) -> Self
[src]
impl Hash for AbsoluteAxis
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IterableEnum for AbsoluteAxis
[src]
fn iter_next(v: usize) -> Option<(usize, Self)>
[src]
fn iter() -> EnumIterator<Self>ⓘImportant traits for EnumIterator<T>
impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
[src]
Important traits for EnumIterator<T>
impl<T: IterableEnum> Iterator for EnumIterator<T> type Item = T;
impl Ord for AbsoluteAxis
[src]
fn cmp(&self, other: &AbsoluteAxis) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<AbsoluteAxis> for AbsoluteAxis
[src]
fn eq(&self, other: &AbsoluteAxis) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<AbsoluteAxis> for AbsoluteAxis
[src]
fn partial_cmp(&self, other: &AbsoluteAxis) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for AbsoluteAxis
[src]
impl StructuralPartialEq for AbsoluteAxis
[src]
impl TryFrom<u16> for AbsoluteAxis
[src]
Auto Trait Implementations
impl RefUnwindSafe for AbsoluteAxis
impl Send for AbsoluteAxis
impl Sync for AbsoluteAxis
impl Unpin for AbsoluteAxis
impl UnwindSafe for AbsoluteAxis
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,