Struct x11rb_protocol::protocol::xproto::PolyText16Request
source · [−]pub struct PolyText16Request<'input> {
pub drawable: Drawable,
pub gc: Gcontext,
pub x: i16,
pub y: i16,
pub items: Cow<'input, [u8]>,
}
Fields
drawable: Drawable
gc: Gcontext
x: i16
y: i16
items: Cow<'input, [u8]>
Implementations
sourceimpl<'input> PolyText16Request<'input>
impl<'input> PolyText16Request<'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) -> PolyText16Request<'static>
pub fn into_owned(self) -> PolyText16Request<'static>
Clone all borrowed data in this PolyText16Request.
Trait Implementations
sourceimpl<'input> Clone for PolyText16Request<'input>
impl<'input> Clone for PolyText16Request<'input>
sourcefn clone(&self) -> PolyText16Request<'input>
fn clone(&self) -> PolyText16Request<'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 PolyText16Request<'input>
impl<'input> Debug for PolyText16Request<'input>
sourceimpl<'input> Default for PolyText16Request<'input>
impl<'input> Default for PolyText16Request<'input>
sourcefn default() -> PolyText16Request<'input>
fn default() -> PolyText16Request<'input>
Returns the “default value” for a type. Read more
sourceimpl<'input> Hash for PolyText16Request<'input>
impl<'input> Hash for PolyText16Request<'input>
sourceimpl<'input> Ord for PolyText16Request<'input>
impl<'input> Ord for PolyText16Request<'input>
sourceimpl<'input> PartialEq<PolyText16Request<'input>> for PolyText16Request<'input>
impl<'input> PartialEq<PolyText16Request<'input>> for PolyText16Request<'input>
sourcefn eq(&self, other: &PolyText16Request<'input>) -> bool
fn eq(&self, other: &PolyText16Request<'input>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PolyText16Request<'input>) -> bool
fn ne(&self, other: &PolyText16Request<'input>) -> bool
This method tests for !=
.
sourceimpl<'input> PartialOrd<PolyText16Request<'input>> for PolyText16Request<'input>
impl<'input> PartialOrd<PolyText16Request<'input>> for PolyText16Request<'input>
sourcefn partial_cmp(&self, other: &PolyText16Request<'input>) -> Option<Ordering>
fn partial_cmp(&self, other: &PolyText16Request<'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 PolyText16Request<'input>
impl<'input> Request for PolyText16Request<'input>
impl<'input> Eq for PolyText16Request<'input>
impl<'input> StructuralEq for PolyText16Request<'input>
impl<'input> StructuralPartialEq for PolyText16Request<'input>
impl<'input> VoidRequest for PolyText16Request<'input>
Auto Trait Implementations
impl<'input> RefUnwindSafe for PolyText16Request<'input>
impl<'input> Send for PolyText16Request<'input>
impl<'input> Sync for PolyText16Request<'input>
impl<'input> Unpin for PolyText16Request<'input>
impl<'input> UnwindSafe for PolyText16Request<'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