Struct x11rb_protocol::protocol::dri2::Attachment
source · pub struct Attachment(/* private fields */);
Implementations§
source§impl Attachment
impl Attachment
pub const BUFFER_FRONT_LEFT: Self = _
pub const BUFFER_BACK_LEFT: Self = _
pub const BUFFER_FRONT_RIGHT: Self = _
pub const BUFFER_BACK_RIGHT: Self = _
pub const BUFFER_DEPTH: Self = _
pub const BUFFER_STENCIL: Self = _
pub const BUFFER_ACCUM: Self = _
pub const BUFFER_FAKE_FRONT_LEFT: Self = _
pub const BUFFER_FAKE_FRONT_RIGHT: Self = _
pub const BUFFER_DEPTH_STENCIL: Self = _
pub const BUFFER_HIZ: Self = _
Trait Implementations§
source§impl Clone for Attachment
impl Clone for Attachment
source§fn clone(&self) -> Attachment
fn clone(&self) -> Attachment
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 Attachment
impl Debug for Attachment
source§impl Default for Attachment
impl Default for Attachment
source§fn default() -> Attachment
fn default() -> Attachment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Attachment
impl<'de> Deserialize<'de> for Attachment
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<Attachment> for Option<u32>
impl From<Attachment> for Option<u32>
source§fn from(input: Attachment) -> Self
fn from(input: Attachment) -> Self
Converts to this type from the input type.
source§impl From<Attachment> for u32
impl From<Attachment> for u32
source§fn from(input: Attachment) -> Self
fn from(input: Attachment) -> Self
Converts to this type from the input type.
source§impl From<u16> for Attachment
impl From<u16> for Attachment
source§impl From<u32> for Attachment
impl From<u32> for Attachment
source§impl From<u8> for Attachment
impl From<u8> for Attachment
source§impl Hash for Attachment
impl Hash for Attachment
source§impl Ord for Attachment
impl Ord for Attachment
source§fn cmp(&self, other: &Attachment) -> Ordering
fn cmp(&self, other: &Attachment) -> 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 Attachment
impl PartialEq for Attachment
source§fn eq(&self, other: &Attachment) -> bool
fn eq(&self, other: &Attachment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Attachment
impl PartialOrd for Attachment
source§fn partial_cmp(&self, other: &Attachment) -> Option<Ordering>
fn partial_cmp(&self, other: &Attachment) -> 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 Attachment
impl Serialize for Attachment
impl Copy for Attachment
impl Eq for Attachment
impl StructuralPartialEq for Attachment
Auto Trait Implementations§
impl Freeze for Attachment
impl RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnwindSafe for Attachment
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