Struct x11rb::protocol::xproto::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 = _
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§fn eq(&self, other: &NotifyMode) -> bool
fn eq(&self, other: &NotifyMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NotifyMode
impl PartialOrd for NotifyMode
source§fn partial_cmp(&self, other: &NotifyMode) -> Option<Ordering>
fn partial_cmp(&self, other: &NotifyMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)