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