Struct xcb::randr::CreateMode
source · pub struct CreateMode<'a> {
pub window: Window,
pub mode_info: ModeInfo,
pub name: &'a [u8],
}
Expand description
The CreateMode
request.
This request replies CreateModeReply.
Associated cookie types are CreateModeCookie and CreateModeCookieUnchecked.
Fields§
§window: Window
§mode_info: ModeInfo
§name: &'a [u8]
Trait Implementations§
source§impl<'a> Clone for CreateMode<'a>
impl<'a> Clone for CreateMode<'a>
source§fn clone(&self) -> CreateMode<'a>
fn clone(&self) -> CreateMode<'a>
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<'a> Debug for CreateMode<'a>
impl<'a> Debug for CreateMode<'a>
source§impl<'a> RawRequest for CreateMode<'a>
impl<'a> RawRequest for CreateMode<'a>
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<'a> Request for CreateMode<'a>
impl<'a> Request for CreateMode<'a>
source§impl<'a> RequestWithReply for CreateMode<'a>
impl<'a> RequestWithReply for CreateMode<'a>
source§type Reply = CreateModeReply
type Reply = CreateModeReply
Reply associated with the request
source§type Cookie = CreateModeCookie
type Cookie = CreateModeCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = CreateModeCookieUnchecked
type CookieUnchecked = CreateModeCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl<'a> Freeze for CreateMode<'a>
impl<'a> RefUnwindSafe for CreateMode<'a>
impl<'a> Send for CreateMode<'a>
impl<'a> Sync for CreateMode<'a>
impl<'a> Unpin for CreateMode<'a>
impl<'a> UnwindSafe for CreateMode<'a>
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
)