pub struct Attachment(/* private fields */);Expand description
C++ enum: QOpenGLFramebufferObject::Attachment.
Implementations§
Source§impl Attachment
impl Attachment
Sourcepub const NoAttachment: Attachment
pub const NoAttachment: Attachment
C++ enum variant: NoAttachment = 0
Sourcepub const CombinedDepthStencil: Attachment
pub const CombinedDepthStencil: Attachment
C++ enum variant: CombinedDepthStencil = 1
Sourcepub const Depth: Attachment
pub const Depth: Attachment
C++ enum variant: Depth = 2
Trait Implementations§
Source§impl Clone for Attachment
impl Clone for Attachment
Source§fn clone(&self) -> Attachment
fn clone(&self) -> Attachment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 From<Attachment> for c_int
impl From<Attachment> for c_int
Source§fn from(value: Attachment) -> Self
fn from(value: Attachment) -> Self
Converts to this type from the input type.
Source§impl From<i32> for Attachment
impl From<i32> for Attachment
Source§impl PartialEq for Attachment
impl PartialEq for Attachment
Source§fn eq(&self, other: &Attachment) -> bool
fn eq(&self, other: &Attachment) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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