Struct x11rb_protocol::protocol::xproto::GrabStatus
source · pub struct GrabStatus(u8);
Tuple Fields§
§0: u8
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 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§impl PartialOrd for GrabStatus
impl PartialOrd 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
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
)