Struct TriStripRequest
pub struct TriStripRequest<'input> {
pub op: PictOp,
pub src: u32,
pub dst: u32,
pub mask_format: u32,
pub src_x: i16,
pub src_y: i16,
pub points: Cow<'input, [Pointfix]>,
}
Fields§
§op: PictOp
§src: u32
§dst: u32
§mask_format: u32
§src_x: i16
§src_y: i16
§points: Cow<'input, [Pointfix]>
Implementations§
§impl<'input> TriStripRequest<'input>
impl<'input> TriStripRequest<'input>
pub fn serialize(
self,
major_opcode: u8,
) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
pub fn serialize( self, major_opcode: u8, ) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
Serialize this request into bytes for the provided connection
pub fn into_owned(self) -> TriStripRequest<'static>
pub fn into_owned(self) -> TriStripRequest<'static>
Clone all borrowed data in this TriStripRequest.
Trait Implementations§
§impl<'input> Clone for TriStripRequest<'input>
impl<'input> Clone for TriStripRequest<'input>
§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 more§impl Debug for TriStripRequest<'_>
impl Debug for TriStripRequest<'_>
§impl<'input> Default for TriStripRequest<'input>
impl<'input> Default for TriStripRequest<'input>
§fn default() -> TriStripRequest<'input>
fn default() -> TriStripRequest<'input>
Returns the “default value” for a type. Read more
§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
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
)