Struct x11rb::protocol::xproto::LookupColorRequest
source · pub struct LookupColorRequest<'input> {
pub cmap: u32,
pub name: Cow<'input, [u8]>,
}
Fields§
§cmap: u32
§name: Cow<'input, [u8]>
Implementations§
source§impl<'input> LookupColorRequest<'input>
impl<'input> LookupColorRequest<'input>
sourcepub fn serialize(self) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
pub fn serialize(self) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> LookupColorRequest<'static>
pub fn into_owned(self) -> LookupColorRequest<'static>
Clone all borrowed data in this LookupColorRequest.
Trait Implementations§
source§impl<'input> Clone for LookupColorRequest<'input>
impl<'input> Clone for LookupColorRequest<'input>
source§fn clone(&self) -> LookupColorRequest<'input>
fn clone(&self) -> LookupColorRequest<'input>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LookupColorRequest<'_>
impl Debug for LookupColorRequest<'_>
source§impl<'input> Default for LookupColorRequest<'input>
impl<'input> Default for LookupColorRequest<'input>
source§fn default() -> LookupColorRequest<'input>
fn default() -> LookupColorRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> ReplyRequest for LookupColorRequest<'input>
impl<'input> ReplyRequest for LookupColorRequest<'input>
§type Reply = LookupColorReply
type Reply = LookupColorReply
The kind of reply that this request generates.
source§impl<'input> Request for LookupColorRequest<'input>
impl<'input> Request for LookupColorRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for LookupColorRequest<'input>
impl<'input> Send for LookupColorRequest<'input>
impl<'input> Sync for LookupColorRequest<'input>
impl<'input> Unpin for LookupColorRequest<'input>
impl<'input> UnwindSafe for LookupColorRequest<'input>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more