Struct x11rb_protocol::protocol::render::ChangePictureRequest
source · pub struct ChangePictureRequest<'input> {
pub picture: Picture,
pub value_list: Cow<'input, ChangePictureAux>,
}
Fields§
§picture: Picture
§value_list: Cow<'input, ChangePictureAux>
Implementations§
source§impl<'input> ChangePictureRequest<'input>
impl<'input> ChangePictureRequest<'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) -> ChangePictureRequest<'static>
pub fn into_owned(self) -> ChangePictureRequest<'static>
Clone all borrowed data in this ChangePictureRequest.
Trait Implementations§
source§impl<'input> Clone for ChangePictureRequest<'input>
impl<'input> Clone for ChangePictureRequest<'input>
source§fn clone(&self) -> ChangePictureRequest<'input>
fn clone(&self) -> ChangePictureRequest<'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 ChangePictureRequest<'_>
impl Debug for ChangePictureRequest<'_>
source§impl<'input> Default for ChangePictureRequest<'input>
impl<'input> Default for ChangePictureRequest<'input>
source§fn default() -> ChangePictureRequest<'input>
fn default() -> ChangePictureRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for ChangePictureRequest<'input>
impl<'input> Request for ChangePictureRequest<'input>
impl<'input> VoidRequest for ChangePictureRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for ChangePictureRequest<'input>
impl<'input> RefUnwindSafe for ChangePictureRequest<'input>
impl<'input> Send for ChangePictureRequest<'input>
impl<'input> Sync for ChangePictureRequest<'input>
impl<'input> Unpin for ChangePictureRequest<'input>
impl<'input> UnwindSafe for ChangePictureRequest<'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
)