Struct x11rb::protocol::xinput::NotifyMode
source · pub struct NotifyMode(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl NotifyMode
impl NotifyMode
pub const NORMAL: NotifyMode = _
pub const GRAB: NotifyMode = _
pub const UNGRAB: NotifyMode = _
pub const WHILE_GRABBED: NotifyMode = _
pub const PASSIVE_GRAB: NotifyMode = _
pub const PASSIVE_UNGRAB: NotifyMode = _
Trait Implementations§
source§impl Clone for NotifyMode
impl Clone for NotifyMode
source§fn clone(&self) -> NotifyMode
fn clone(&self) -> NotifyMode
Returns a copy 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 NotifyMode
impl Debug for NotifyMode
source§impl Default for NotifyMode
impl Default for NotifyMode
source§fn default() -> NotifyMode
fn default() -> NotifyMode
Returns the “default value” for a type. Read more
source§impl From<u8> for NotifyMode
impl From<u8> for NotifyMode
source§fn from(value: u8) -> NotifyMode
fn from(value: u8) -> NotifyMode
Converts to this type from the input type.
source§impl Hash for NotifyMode
impl Hash for NotifyMode
source§impl Ord for NotifyMode
impl Ord for NotifyMode
source§fn cmp(&self, other: &NotifyMode) -> Ordering
fn cmp(&self, other: &NotifyMode) -> 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 for NotifyMode
impl PartialEq for NotifyMode
source§impl PartialOrd for NotifyMode
impl PartialOrd for NotifyMode
impl Copy for NotifyMode
impl Eq for NotifyMode
impl StructuralPartialEq for NotifyMode
Auto Trait Implementations§
impl Freeze for NotifyMode
impl RefUnwindSafe for NotifyMode
impl Send for NotifyMode
impl Sync for NotifyMode
impl Unpin for NotifyMode
impl UnwindSafe for NotifyMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)