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