Struct x11rb::protocol::xproto::QueryColorsRequest
source · pub struct QueryColorsRequest<'input> {
pub cmap: u32,
pub pixels: Cow<'input, [u32]>,
}
Fields§
§cmap: u32
§pixels: Cow<'input, [u32]>
Implementations§
source§impl<'input> QueryColorsRequest<'input>
impl<'input> QueryColorsRequest<'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) -> QueryColorsRequest<'static>
pub fn into_owned(self) -> QueryColorsRequest<'static>
Clone all borrowed data in this QueryColorsRequest.
Trait Implementations§
source§impl<'input> Clone for QueryColorsRequest<'input>
impl<'input> Clone for QueryColorsRequest<'input>
source§fn clone(&self) -> QueryColorsRequest<'input>
fn clone(&self) -> QueryColorsRequest<'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 QueryColorsRequest<'_>
impl Debug for QueryColorsRequest<'_>
source§impl<'input> Default for QueryColorsRequest<'input>
impl<'input> Default for QueryColorsRequest<'input>
source§fn default() -> QueryColorsRequest<'input>
fn default() -> QueryColorsRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> ReplyRequest for QueryColorsRequest<'input>
impl<'input> ReplyRequest for QueryColorsRequest<'input>
§type Reply = QueryColorsReply
type Reply = QueryColorsReply
The kind of reply that this request generates.
source§impl<'input> Request for QueryColorsRequest<'input>
impl<'input> Request for QueryColorsRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for QueryColorsRequest<'input>
impl<'input> Send for QueryColorsRequest<'input>
impl<'input> Sync for QueryColorsRequest<'input>
impl<'input> Unpin for QueryColorsRequest<'input>
impl<'input> UnwindSafe for QueryColorsRequest<'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