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: u32Trait 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