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