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