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