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