Struct x11rb_protocol::protocol::xv::GrabPortStatus
source · pub struct GrabPortStatus(/* private fields */);
Implementations§
source§impl GrabPortStatus
impl GrabPortStatus
pub const SUCCESS: Self = _
pub const BAD_EXTENSION: Self = _
pub const ALREADY_GRABBED: Self = _
pub const INVALID_TIME: Self = _
pub const BAD_REPLY: Self = _
pub const BAD_ALLOC: Self = _
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 Default for GrabPortStatus
impl Default for GrabPortStatus
source§fn default() -> GrabPortStatus
fn default() -> GrabPortStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GrabPortStatus
impl<'de> Deserialize<'de> for GrabPortStatus
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<GrabPortStatus> for Option<u16>
impl From<GrabPortStatus> for Option<u16>
source§fn from(input: GrabPortStatus) -> Self
fn from(input: GrabPortStatus) -> Self
Converts to this type from the input type.
source§impl From<GrabPortStatus> for Option<u32>
impl From<GrabPortStatus> for Option<u32>
source§fn from(input: GrabPortStatus) -> Self
fn from(input: GrabPortStatus) -> Self
Converts to this type from the input type.
source§impl From<GrabPortStatus> for Option<u8>
impl From<GrabPortStatus> for Option<u8>
source§fn from(input: GrabPortStatus) -> Self
fn from(input: GrabPortStatus) -> Self
Converts to this type from the input type.
source§impl From<GrabPortStatus> for u16
impl From<GrabPortStatus> for u16
source§fn from(input: GrabPortStatus) -> Self
fn from(input: GrabPortStatus) -> Self
Converts to this type from the input type.
source§impl From<GrabPortStatus> for u32
impl From<GrabPortStatus> for u32
source§fn from(input: GrabPortStatus) -> Self
fn from(input: GrabPortStatus) -> Self
Converts to this type from the input type.
source§impl From<GrabPortStatus> for u8
impl From<GrabPortStatus> for u8
source§fn from(input: GrabPortStatus) -> Self
fn from(input: GrabPortStatus) -> Self
Converts to this type from the input type.
source§impl From<u8> for GrabPortStatus
impl From<u8> for GrabPortStatus
source§impl Hash for GrabPortStatus
impl Hash 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 moresource§impl Serialize for GrabPortStatus
impl Serialize for GrabPortStatus
impl 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