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§impl PartialOrd for Attachment
impl PartialOrd 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)