Struct redwm::imports::PolyText16Request [−][src]
pub struct PolyText16Request<'input> { pub drawable: u32, pub gc: u32, pub x: i16, pub y: i16, pub items: Cow<'input, [u8]>, }
Fields
drawable: u32
gc: u32
x: i16
y: i16
items: Cow<'input, [u8]>
Implementations
pub fn send<Conn>(
self,
conn: &Conn
) -> Result<VoidCookie<'_, Conn>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<PolyText16Request<'input>, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<PolyText16Request<'input>, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Clone all borrowed data in this PolyText16Request.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more