Struct x11rb_protocol::protocol::xproto::GrabStatus
source · [−]pub struct GrabStatus(_);
Implementations
sourceimpl GrabStatus
impl GrabStatus
pub const SUCCESS: Self = Self(0)
pub const ALREADY_GRABBED: Self = Self(1)
pub const INVALID_TIME: Self = Self(2)
pub const NOT_VIEWABLE: Self = Self(3)
pub const FROZEN: Self = Self(4)
Trait Implementations
sourceimpl Clone for GrabStatus
impl Clone for GrabStatus
sourcefn clone(&self) -> GrabStatus
fn clone(&self) -> GrabStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GrabStatus
impl Debug for GrabStatus
sourceimpl Default for GrabStatus
impl Default for GrabStatus
sourcefn default() -> GrabStatus
fn default() -> GrabStatus
Returns the “default value” for a type. Read more
sourceimpl From<GrabStatus> for u8
impl From<GrabStatus> for u8
sourcefn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
sourceimpl From<GrabStatus> for Option<u8>
impl From<GrabStatus> for Option<u8>
sourcefn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
sourceimpl From<GrabStatus> for u16
impl From<GrabStatus> for u16
sourcefn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
sourceimpl From<GrabStatus> for Option<u16>
impl From<GrabStatus> for Option<u16>
sourcefn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
sourceimpl From<GrabStatus> for u32
impl From<GrabStatus> for u32
sourcefn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
sourceimpl From<GrabStatus> for Option<u32>
impl From<GrabStatus> for Option<u32>
sourcefn from(input: GrabStatus) -> Self
fn from(input: GrabStatus) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for GrabStatus
impl From<u8> for GrabStatus
sourceimpl Hash for GrabStatus
impl Hash for GrabStatus
sourceimpl Ord for GrabStatus
impl Ord for GrabStatus
sourceimpl PartialEq<GrabStatus> for GrabStatus
impl PartialEq<GrabStatus> for GrabStatus
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &GrabStatus) -> bool
fn ne(&self, other: &GrabStatus) -> bool
This method tests for !=
.
sourceimpl PartialOrd<GrabStatus> for GrabStatus
impl PartialOrd<GrabStatus> for GrabStatus
sourcefn partial_cmp(&self, other: &GrabStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &GrabStatus) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for GrabStatus
impl Eq for GrabStatus
impl StructuralEq for GrabStatus
impl StructuralPartialEq for GrabStatus
Auto Trait Implementations
impl RefUnwindSafe for GrabStatus
impl Send for GrabStatus
impl Sync for GrabStatus
impl Unpin for GrabStatus
impl UnwindSafe for GrabStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more