Struct x11rb::protocol::xproto::FillPolyRequest[][src]

pub struct FillPolyRequest<'input> {
    pub drawable: Drawable,
    pub gc: Gcontext,
    pub shape: PolyShape,
    pub coordinate_mode: CoordMode,
    pub points: Cow<'input, [Point]>,
}

Fields

drawable: Drawablegc: Gcontextshape: PolyShapecoordinate_mode: CoordModepoints: Cow<'input, [Point]>

Implementations

impl<'input> FillPolyRequest<'input>[src]

pub fn send<Conn: ?Sized>(
    self,
    conn: &Conn
) -> Result<VoidCookie<'_, Conn>, ConnectionError> where
    Conn: RequestConnection
[src]

pub fn try_parse_request(
    header: RequestHeader,
    value: &'input [u8]
) -> Result<Self, ParseError>
[src]

Parse this request given its header, its body, and any fds that go along with it

pub fn into_owned(self) -> FillPolyRequest<'static>[src]

Clone all borrowed data in this FillPolyRequest.

Trait Implementations

impl<'input> Clone for FillPolyRequest<'input>[src]

impl<'input> Debug for FillPolyRequest<'input>[src]

impl<'input> Eq for FillPolyRequest<'input>[src]

impl<'input> PartialEq<FillPolyRequest<'input>> for FillPolyRequest<'input>[src]

impl<'input> Request for FillPolyRequest<'input>[src]

type Reply = ()

The kind of reply that this request generates.

impl<'input> StructuralEq for FillPolyRequest<'input>[src]

impl<'input> StructuralPartialEq for FillPolyRequest<'input>[src]

Auto Trait Implementations

impl<'input> RefUnwindSafe for FillPolyRequest<'input>

impl<'input> Send for FillPolyRequest<'input>

impl<'input> Sync for FillPolyRequest<'input>

impl<'input> Unpin for FillPolyRequest<'input>

impl<'input> UnwindSafe for FillPolyRequest<'input>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.