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