Struct xcb::dri2::SwapBuffers
source · pub struct SwapBuffers {
pub drawable: Drawable,
pub target_msc_hi: u32,
pub target_msc_lo: u32,
pub divisor_hi: u32,
pub divisor_lo: u32,
pub remainder_hi: u32,
pub remainder_lo: u32,
}
Expand description
The SwapBuffers
request.
This request replies SwapBuffersReply.
Associated cookie types are SwapBuffersCookie and SwapBuffersCookieUnchecked.
Fields§
§drawable: Drawable
§target_msc_hi: u32
§target_msc_lo: u32
§divisor_hi: u32
§divisor_lo: u32
§remainder_hi: u32
§remainder_lo: u32
Trait Implementations§
source§impl Clone for SwapBuffers
impl Clone for SwapBuffers
source§fn clone(&self) -> SwapBuffers
fn clone(&self) -> SwapBuffers
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 SwapBuffers
impl Debug for SwapBuffers
source§impl RawRequest for SwapBuffers
impl RawRequest for SwapBuffers
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl Request for SwapBuffers
impl Request for SwapBuffers
source§impl RequestWithReply for SwapBuffers
impl RequestWithReply for SwapBuffers
source§type Reply = SwapBuffersReply
type Reply = SwapBuffersReply
Reply associated with the request
source§type Cookie = SwapBuffersCookie
type Cookie = SwapBuffersCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = SwapBuffersCookieUnchecked
type CookieUnchecked = SwapBuffersCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for SwapBuffers
impl RefUnwindSafe for SwapBuffers
impl Send for SwapBuffers
impl Sync for SwapBuffers
impl Unpin for SwapBuffers
impl UnwindSafe for SwapBuffers
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
)