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