Struct x11rb_protocol::protocol::randr::CreateModeRequest
source · pub struct CreateModeRequest<'input> {
pub window: Window,
pub mode_info: ModeInfo,
pub name: Cow<'input, [u8]>,
}
Fields§
§window: Window
§mode_info: ModeInfo
§name: Cow<'input, [u8]>
Implementations§
source§impl<'input> CreateModeRequest<'input>
impl<'input> CreateModeRequest<'input>
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 3]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 3]>
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> CreateModeRequest<'static>
pub fn into_owned(self) -> CreateModeRequest<'static>
Clone all borrowed data in this CreateModeRequest.
Trait Implementations§
source§impl<'input> Clone for CreateModeRequest<'input>
impl<'input> Clone for CreateModeRequest<'input>
source§fn clone(&self) -> CreateModeRequest<'input>
fn clone(&self) -> CreateModeRequest<'input>
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 CreateModeRequest<'_>
impl Debug for CreateModeRequest<'_>
source§impl<'input> Default for CreateModeRequest<'input>
impl<'input> Default for CreateModeRequest<'input>
source§fn default() -> CreateModeRequest<'input>
fn default() -> CreateModeRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> ReplyRequest for CreateModeRequest<'input>
impl<'input> ReplyRequest for CreateModeRequest<'input>
source§type Reply = CreateModeReply
type Reply = CreateModeReply
The kind of reply that this request generates.
source§impl<'input> Request for CreateModeRequest<'input>
impl<'input> Request for CreateModeRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for CreateModeRequest<'input>
impl<'input> RefUnwindSafe for CreateModeRequest<'input>
impl<'input> Send for CreateModeRequest<'input>
impl<'input> Sync for CreateModeRequest<'input>
impl<'input> Unpin for CreateModeRequest<'input>
impl<'input> UnwindSafe for CreateModeRequest<'input>
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
)