Struct x11rb_protocol::protocol::xproto::GrabStatus
source · pub struct GrabStatus(/* private fields */);
Implementations§
source§impl GrabStatus
impl GrabStatus
pub const SUCCESS: Self = _
pub const ALREADY_GRABBED: Self = _
pub const INVALID_TIME: Self = _
pub const NOT_VIEWABLE: Self = _
pub const FROZEN: Self = _
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<'de> Deserialize<'de> for GrabStatus
impl<'de> Deserialize<'de> for GrabStatus
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<GrabStatus> for Option<u16>
impl From<GrabStatus> for Option<u16>
source§fn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
source§impl From<GrabStatus> for Option<u32>
impl From<GrabStatus> for Option<u32>
source§fn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
source§impl From<GrabStatus> for Option<u8>
impl From<GrabStatus> for Option<u8>
source§fn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
source§impl From<GrabStatus> for u16
impl From<GrabStatus> for u16
source§fn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
source§impl From<GrabStatus> for u32
impl From<GrabStatus> for u32
source§fn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
source§impl From<GrabStatus> for u8
impl From<GrabStatus> for u8
source§fn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
source§impl From<u8> for GrabStatus
impl From<u8> for GrabStatus
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 moresource§impl Serialize for GrabStatus
impl Serialize for GrabStatus
impl 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