Enum xcb::x::GrabStatus
source · #[repr(u32)]pub enum GrabStatus {
Success = 0,
AlreadyGrabbed = 1,
InvalidTime = 2,
NotViewable = 3,
Frozen = 4,
}
Variants§
Trait Implementations§
source§impl Clone for GrabStatus
impl Clone for GrabStatus
source§fn clone(&self) -> GrabStatus
fn clone(&self) -> GrabStatus
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 GrabStatus
impl Debug for GrabStatus
source§impl Ord for GrabStatus
impl Ord for GrabStatus
source§fn cmp(&self, other: &GrabStatus) -> Ordering
fn cmp(&self, other: &GrabStatus) -> 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 GrabStatus
impl PartialEq for GrabStatus
source§fn eq(&self, other: &GrabStatus) -> bool
fn eq(&self, other: &GrabStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GrabStatus
impl PartialOrd for GrabStatus
source§fn partial_cmp(&self, other: &GrabStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &GrabStatus) -> 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 GrabStatus
impl Eq for GrabStatus
impl StructuralPartialEq for GrabStatus
Auto Trait Implementations§
impl Freeze for GrabStatus
impl RefUnwindSafe for GrabStatus
impl Send for GrabStatus
impl Sync for GrabStatus
impl Unpin for GrabStatus
impl UnwindSafe for GrabStatus
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