Struct xcb::dri2::AttachFormat
source · pub struct AttachFormat { /* private fields */ }
Implementations§
source§impl AttachFormat
impl AttachFormat
sourcepub fn new(attachment: Attachment, format: u32) -> AttachFormat
pub fn new(attachment: Attachment, format: u32) -> AttachFormat
Construct a new AttachFormat.
pub fn attachment(&self) -> Attachment
pub fn format(&self) -> u32
Trait Implementations§
source§impl Clone for AttachFormat
impl Clone for AttachFormat
source§fn clone(&self) -> AttachFormat
fn clone(&self) -> AttachFormat
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 AttachFormat
impl Debug for AttachFormat
impl Copy for AttachFormat
Auto Trait Implementations§
impl Freeze for AttachFormat
impl RefUnwindSafe for AttachFormat
impl Send for AttachFormat
impl Sync for AttachFormat
impl Unpin for AttachFormat
impl UnwindSafe for AttachFormat
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
)