Struct x11rb::protocol::xproto::GrabStatus
source · pub struct GrabStatus(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl GrabStatus
impl GrabStatus
pub const SUCCESS: GrabStatus = _
pub const ALREADY_GRABBED: GrabStatus = _
pub const INVALID_TIME: GrabStatus = _
pub const NOT_VIEWABLE: GrabStatus = _
pub const FROZEN: GrabStatus = _
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 Default for GrabStatus
impl Default for GrabStatus
source§fn default() -> GrabStatus
fn default() -> GrabStatus
Returns the “default value” for a type. Read more
source§impl From<u8> for GrabStatus
impl From<u8> for GrabStatus
source§fn from(value: u8) -> GrabStatus
fn from(value: u8) -> GrabStatus
Converts to this type from the input type.
source§impl Hash for GrabStatus
impl Hash 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