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