Struct x11rb::protocol::xproto::StoreNamedColorRequest [−][src]
pub struct StoreNamedColorRequest<'input> {
pub flags: u8,
pub cmap: Colormap,
pub pixel: u32,
pub name: Cow<'input, [u8]>,
}
Fields
flags: u8
cmap: Colormap
pixel: u32
name: Cow<'input, [u8]>
Implementations
pub fn send<Conn: ?Sized>(
self,
conn: &Conn
) -> Result<VoidCookie<'_, Conn>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub 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
Clone all borrowed data in this StoreNamedColorRequest.
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 StoreNamedColorRequest<'input>
impl<'input> Send for StoreNamedColorRequest<'input>
impl<'input> Sync for StoreNamedColorRequest<'input>
impl<'input> Unpin for StoreNamedColorRequest<'input>
impl<'input> UnwindSafe for StoreNamedColorRequest<'input>
Blanket Implementations
Mutably borrows from an owned value. Read more