Struct x11rb_protocol::protocol::xproto::FillPolyRequest
source · [−]pub struct FillPolyRequest<'input> {
pub drawable: Drawable,
pub gc: Gcontext,
pub shape: PolyShape,
pub coordinate_mode: CoordMode,
pub points: Cow<'input, [Point]>,
}
Fields
drawable: Drawable
gc: Gcontext
shape: PolyShape
coordinate_mode: CoordMode
points: Cow<'input, [Point]>
Implementations
sourceimpl<'input> FillPolyRequest<'input>
impl<'input> FillPolyRequest<'input>
sourcepub fn serialize(self) -> BufWithFds<PiecewiseBuf<'input>>
pub fn serialize(self) -> BufWithFds<PiecewiseBuf<'input>>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
sourcepub fn into_owned(self) -> FillPolyRequest<'static>
pub fn into_owned(self) -> FillPolyRequest<'static>
Clone all borrowed data in this FillPolyRequest.
Trait Implementations
sourceimpl<'input> Clone for FillPolyRequest<'input>
impl<'input> Clone for FillPolyRequest<'input>
sourcefn clone(&self) -> FillPolyRequest<'input>
fn clone(&self) -> FillPolyRequest<'input>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'input> Debug for FillPolyRequest<'input>
impl<'input> Debug for FillPolyRequest<'input>
sourceimpl<'input> Default for FillPolyRequest<'input>
impl<'input> Default for FillPolyRequest<'input>
sourcefn default() -> FillPolyRequest<'input>
fn default() -> FillPolyRequest<'input>
Returns the “default value” for a type. Read more
sourceimpl<'input> Hash for FillPolyRequest<'input>
impl<'input> Hash for FillPolyRequest<'input>
sourceimpl<'input> Ord for FillPolyRequest<'input>
impl<'input> Ord for FillPolyRequest<'input>
sourceimpl<'input> PartialEq<FillPolyRequest<'input>> for FillPolyRequest<'input>
impl<'input> PartialEq<FillPolyRequest<'input>> for FillPolyRequest<'input>
sourcefn eq(&self, other: &FillPolyRequest<'input>) -> bool
fn eq(&self, other: &FillPolyRequest<'input>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FillPolyRequest<'input>) -> bool
fn ne(&self, other: &FillPolyRequest<'input>) -> bool
This method tests for !=
.
sourceimpl<'input> PartialOrd<FillPolyRequest<'input>> for FillPolyRequest<'input>
impl<'input> PartialOrd<FillPolyRequest<'input>> for FillPolyRequest<'input>
sourcefn partial_cmp(&self, other: &FillPolyRequest<'input>) -> Option<Ordering>
fn partial_cmp(&self, other: &FillPolyRequest<'input>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'input> Request for FillPolyRequest<'input>
impl<'input> Request for FillPolyRequest<'input>
impl<'input> Eq for FillPolyRequest<'input>
impl<'input> StructuralEq for FillPolyRequest<'input>
impl<'input> StructuralPartialEq for FillPolyRequest<'input>
impl<'input> VoidRequest for FillPolyRequest<'input>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more