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