Struct x11rb_protocol::protocol::xproto::PolyPointRequest
source · pub struct PolyPointRequest<'input> {
pub coordinate_mode: CoordMode,
pub drawable: Drawable,
pub gc: Gcontext,
pub points: Cow<'input, [Point]>,
}
Fields§
§coordinate_mode: CoordMode
§drawable: Drawable
§gc: Gcontext
§points: Cow<'input, [Point]>
Implementations§
source§impl<'input> PolyPointRequest<'input>
impl<'input> PolyPointRequest<'input>
sourcepub fn serialize(self) -> BufWithFds<[Cow<'input, [u8]>; 3]>
pub fn serialize(self) -> BufWithFds<[Cow<'input, [u8]>; 3]>
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> PolyPointRequest<'static>
pub fn into_owned(self) -> PolyPointRequest<'static>
Clone all borrowed data in this PolyPointRequest.
Trait Implementations§
source§impl<'input> Clone for PolyPointRequest<'input>
impl<'input> Clone for PolyPointRequest<'input>
source§fn clone(&self) -> PolyPointRequest<'input>
fn clone(&self) -> PolyPointRequest<'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 PolyPointRequest<'_>
impl Debug for PolyPointRequest<'_>
source§impl<'input> Default for PolyPointRequest<'input>
impl<'input> Default for PolyPointRequest<'input>
source§fn default() -> PolyPointRequest<'input>
fn default() -> PolyPointRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for PolyPointRequest<'input>
impl<'input> Request for PolyPointRequest<'input>
impl<'input> VoidRequest for PolyPointRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for PolyPointRequest<'input>
impl<'input> Send for PolyPointRequest<'input>
impl<'input> Sync for PolyPointRequest<'input>
impl<'input> Unpin for PolyPointRequest<'input>
impl<'input> UnwindSafe for PolyPointRequest<'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