[][src]Struct breadx::auto::xkb::SaMovePtrFlag

#[repr(transparent)]pub struct SaMovePtrFlag {
    pub inner: u8,
}

Fields

inner: u8

Implementations

impl SaMovePtrFlag[src]

pub fn no_acceleration(&self) -> bool[src]

pub fn set_no_acceleration(&mut self, val: bool) -> &mut Self[src]

pub fn move_absolute_x(&self) -> bool[src]

pub fn set_move_absolute_x(&mut self, val: bool) -> &mut Self[src]

pub fn move_absolute_y(&self) -> bool[src]

pub fn set_move_absolute_y(&mut self, val: bool) -> &mut Self[src]

pub fn new(
    no_acceleration: bool,
    move_absolute_x: bool,
    move_absolute_y: bool
) -> Self
[src]

pub fn count_ones(&self) -> usize[src]

Trait Implementations

impl AsByteSequence for SaMovePtrFlag[src]

impl BitAnd<SaMovePtrFlag> for SaMovePtrFlag[src]

type Output = SaMovePtrFlag

The resulting type after applying the & operator.

impl Clone for SaMovePtrFlag[src]

impl Copy for SaMovePtrFlag[src]

impl Debug for SaMovePtrFlag[src]

impl Default for SaMovePtrFlag[src]

impl Eq for SaMovePtrFlag[src]

impl Not for SaMovePtrFlag[src]

type Output = SaMovePtrFlag

The resulting type after applying the ! operator.

impl Ord for SaMovePtrFlag[src]

impl PartialEq<SaMovePtrFlag> for SaMovePtrFlag[src]

impl PartialOrd<SaMovePtrFlag> for SaMovePtrFlag[src]

impl StructuralEq for SaMovePtrFlag[src]

impl StructuralPartialEq for SaMovePtrFlag[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.