Struct x11rb_protocol::protocol::render::TrapezoidsRequest
source · pub struct TrapezoidsRequest<'input> {
pub op: PictOp,
pub src: Picture,
pub dst: Picture,
pub mask_format: Pictformat,
pub src_x: i16,
pub src_y: i16,
pub traps: Cow<'input, [Trapezoid]>,
}
Fields§
§op: PictOp
§src: Picture
§dst: Picture
§mask_format: Pictformat
§src_x: i16
§src_y: i16
§traps: Cow<'input, [Trapezoid]>
Implementations§
source§impl<'input> TrapezoidsRequest<'input>
impl<'input> TrapezoidsRequest<'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) -> TrapezoidsRequest<'static>
pub fn into_owned(self) -> TrapezoidsRequest<'static>
Clone all borrowed data in this TrapezoidsRequest.
Trait Implementations§
source§impl<'input> Clone for TrapezoidsRequest<'input>
impl<'input> Clone for TrapezoidsRequest<'input>
source§fn clone(&self) -> TrapezoidsRequest<'input>
fn clone(&self) -> TrapezoidsRequest<'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 TrapezoidsRequest<'_>
impl Debug for TrapezoidsRequest<'_>
source§impl<'input> Default for TrapezoidsRequest<'input>
impl<'input> Default for TrapezoidsRequest<'input>
source§fn default() -> TrapezoidsRequest<'input>
fn default() -> TrapezoidsRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for TrapezoidsRequest<'input>
impl<'input> Request for TrapezoidsRequest<'input>
impl<'input> VoidRequest for TrapezoidsRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for TrapezoidsRequest<'input>
impl<'input> RefUnwindSafe for TrapezoidsRequest<'input>
impl<'input> Send for TrapezoidsRequest<'input>
impl<'input> Sync for TrapezoidsRequest<'input>
impl<'input> Unpin for TrapezoidsRequest<'input>
impl<'input> UnwindSafe for TrapezoidsRequest<'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