Struct xcb::glx::MakeContextCurrent
source · pub struct MakeContextCurrent {
pub old_context_tag: ContextTag,
pub drawable: Drawable,
pub read_drawable: Drawable,
pub context: Context,
}
Expand description
The MakeContextCurrent
request.
This request replies MakeContextCurrentReply.
Associated cookie types are MakeContextCurrentCookie and MakeContextCurrentCookieUnchecked.
Fields§
§old_context_tag: ContextTag
§drawable: Drawable
§read_drawable: Drawable
§context: Context
Trait Implementations§
source§impl Clone for MakeContextCurrent
impl Clone for MakeContextCurrent
source§fn clone(&self) -> MakeContextCurrent
fn clone(&self) -> MakeContextCurrent
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 MakeContextCurrent
impl Debug for MakeContextCurrent
source§impl RawRequest for MakeContextCurrent
impl RawRequest for MakeContextCurrent
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 MakeContextCurrent
impl Request for MakeContextCurrent
source§impl RequestWithReply for MakeContextCurrent
impl RequestWithReply for MakeContextCurrent
source§type Reply = MakeContextCurrentReply
type Reply = MakeContextCurrentReply
Reply associated with the request
source§type Cookie = MakeContextCurrentCookie
type Cookie = MakeContextCurrentCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = MakeContextCurrentCookieUnchecked
type CookieUnchecked = MakeContextCurrentCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for MakeContextCurrent
impl RefUnwindSafe for MakeContextCurrent
impl Send for MakeContextCurrent
impl Sync for MakeContextCurrent
impl Unpin for MakeContextCurrent
impl UnwindSafe for MakeContextCurrent
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
)