Enum xcb::dri2::Attachment
source · #[repr(u32)]pub enum Attachment {
BufferFrontLeft = 0,
BufferBackLeft = 1,
BufferFrontRight = 2,
BufferBackRight = 3,
BufferDepth = 4,
BufferStencil = 5,
BufferAccum = 6,
BufferFakeFrontLeft = 7,
BufferFakeFrontRight = 8,
BufferDepthStencil = 9,
BufferHiz = 10,
}
Variants§
BufferFrontLeft = 0
BufferBackLeft = 1
BufferFrontRight = 2
BufferBackRight = 3
BufferDepth = 4
BufferStencil = 5
BufferAccum = 6
BufferFakeFrontLeft = 7
BufferFakeFrontRight = 8
BufferDepthStencil = 9
BufferHiz = 10
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 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 moreimpl 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