Struct xcb::xf86dri::CreateContext
source · pub struct CreateContext {
pub screen: u32,
pub visual: u32,
pub context: u32,
}
Expand description
The CreateContext
request.
This request replies CreateContextReply.
Associated cookie types are CreateContextCookie and CreateContextCookieUnchecked.
Fields§
§screen: u32
§visual: u32
§context: u32
Trait Implementations§
source§impl Clone for CreateContext
impl Clone for CreateContext
source§fn clone(&self) -> CreateContext
fn clone(&self) -> CreateContext
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 CreateContext
impl Debug for CreateContext
source§impl RawRequest for CreateContext
impl RawRequest for CreateContext
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 CreateContext
impl Request for CreateContext
source§impl RequestWithReply for CreateContext
impl RequestWithReply for CreateContext
source§type Reply = CreateContextReply
type Reply = CreateContextReply
Reply associated with the request
source§type Cookie = CreateContextCookie
type Cookie = CreateContextCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = CreateContextCookieUnchecked
type CookieUnchecked = CreateContextCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for CreateContext
impl RefUnwindSafe for CreateContext
impl Send for CreateContext
impl Sync for CreateContext
impl Unpin for CreateContext
impl UnwindSafe for CreateContext
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
)