Struct xcb::sync::Initialize
source · pub struct Initialize {
pub desired_major_version: u8,
pub desired_minor_version: u8,
}
Expand description
The Initialize
request.
This request replies InitializeReply.
Associated cookie types are InitializeCookie and InitializeCookieUnchecked.
Fields§
§desired_major_version: u8
§desired_minor_version: u8
Trait Implementations§
source§impl Clone for Initialize
impl Clone for Initialize
source§fn clone(&self) -> Initialize
fn clone(&self) -> Initialize
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 Initialize
impl Debug for Initialize
source§impl RawRequest for Initialize
impl RawRequest for Initialize
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 Initialize
impl Request for Initialize
source§impl RequestWithReply for Initialize
impl RequestWithReply for Initialize
source§type Reply = InitializeReply
type Reply = InitializeReply
Reply associated with the request
source§type Cookie = InitializeCookie
type Cookie = InitializeCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = InitializeCookieUnchecked
type CookieUnchecked = InitializeCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for Initialize
impl RefUnwindSafe for Initialize
impl Send for Initialize
impl Sync for Initialize
impl Unpin for Initialize
impl UnwindSafe for Initialize
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
)