Struct x11rb_protocol::protocol::xproto::AllocNamedColorRequest
source · [−]Fields
cmap: Colormap
name: Cow<'input, [u8]>
Implementations
sourceimpl<'input> AllocNamedColorRequest<'input>
impl<'input> AllocNamedColorRequest<'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) -> AllocNamedColorRequest<'static>
pub fn into_owned(self) -> AllocNamedColorRequest<'static>
Clone all borrowed data in this AllocNamedColorRequest.
Trait Implementations
sourceimpl<'input> Clone for AllocNamedColorRequest<'input>
impl<'input> Clone for AllocNamedColorRequest<'input>
sourcefn clone(&self) -> AllocNamedColorRequest<'input>
fn clone(&self) -> AllocNamedColorRequest<'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 AllocNamedColorRequest<'input>
impl<'input> Debug for AllocNamedColorRequest<'input>
sourceimpl<'input> Default for AllocNamedColorRequest<'input>
impl<'input> Default for AllocNamedColorRequest<'input>
sourcefn default() -> AllocNamedColorRequest<'input>
fn default() -> AllocNamedColorRequest<'input>
Returns the “default value” for a type. Read more
sourceimpl<'input> Hash for AllocNamedColorRequest<'input>
impl<'input> Hash for AllocNamedColorRequest<'input>
sourceimpl<'input> Ord for AllocNamedColorRequest<'input>
impl<'input> Ord for AllocNamedColorRequest<'input>
sourceimpl<'input> PartialEq<AllocNamedColorRequest<'input>> for AllocNamedColorRequest<'input>
impl<'input> PartialEq<AllocNamedColorRequest<'input>> for AllocNamedColorRequest<'input>
sourcefn eq(&self, other: &AllocNamedColorRequest<'input>) -> bool
fn eq(&self, other: &AllocNamedColorRequest<'input>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AllocNamedColorRequest<'input>) -> bool
fn ne(&self, other: &AllocNamedColorRequest<'input>) -> bool
This method tests for !=
.
sourceimpl<'input> PartialOrd<AllocNamedColorRequest<'input>> for AllocNamedColorRequest<'input>
impl<'input> PartialOrd<AllocNamedColorRequest<'input>> for AllocNamedColorRequest<'input>
sourcefn partial_cmp(
&self,
other: &AllocNamedColorRequest<'input>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &AllocNamedColorRequest<'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> ReplyRequest for AllocNamedColorRequest<'input>
impl<'input> ReplyRequest for AllocNamedColorRequest<'input>
type Reply = AllocNamedColorReply
type Reply = AllocNamedColorReply
The kind of reply that this request generates.
sourceimpl<'input> Request for AllocNamedColorRequest<'input>
impl<'input> Request for AllocNamedColorRequest<'input>
impl<'input> Eq for AllocNamedColorRequest<'input>
impl<'input> StructuralEq for AllocNamedColorRequest<'input>
impl<'input> StructuralPartialEq for AllocNamedColorRequest<'input>
Auto Trait Implementations
impl<'input> RefUnwindSafe for AllocNamedColorRequest<'input>
impl<'input> Send for AllocNamedColorRequest<'input>
impl<'input> Sync for AllocNamedColorRequest<'input>
impl<'input> Unpin for AllocNamedColorRequest<'input>
impl<'input> UnwindSafe for AllocNamedColorRequest<'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