Struct xcb::glx::CreateContext
source · pub struct CreateContext {
pub context: Context,
pub visual: Visualid,
pub screen: u32,
pub share_list: Context,
pub is_direct: bool,
}
Expand description
The CreateContext
request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§context: Context
§visual: Visualid
§screen: u32
§is_direct: bool
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
impl RequestWithoutReply for CreateContext
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
)