Struct xcb::x::QueryColors
source · pub struct QueryColors<'a> {
pub cmap: Colormap,
pub pixels: &'a [u32],
}
Expand description
The QueryColors
request.
This request replies QueryColorsReply.
Associated cookie types are QueryColorsCookie and QueryColorsCookieUnchecked.
Fields§
§cmap: Colormap
§pixels: &'a [u32]
Trait Implementations§
source§impl<'a> Clone for QueryColors<'a>
impl<'a> Clone for QueryColors<'a>
source§fn clone(&self) -> QueryColors<'a>
fn clone(&self) -> QueryColors<'a>
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<'a> Debug for QueryColors<'a>
impl<'a> Debug for QueryColors<'a>
source§impl<'a> RawRequest for QueryColors<'a>
impl<'a> RawRequest for QueryColors<'a>
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl<'a> Request for QueryColors<'a>
impl<'a> Request for QueryColors<'a>
source§impl<'a> RequestWithReply for QueryColors<'a>
impl<'a> RequestWithReply for QueryColors<'a>
source§type Reply = QueryColorsReply
type Reply = QueryColorsReply
Reply associated with the request
source§type Cookie = QueryColorsCookie
type Cookie = QueryColorsCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = QueryColorsCookieUnchecked
type CookieUnchecked = QueryColorsCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl<'a> Freeze for QueryColors<'a>
impl<'a> RefUnwindSafe for QueryColors<'a>
impl<'a> Send for QueryColors<'a>
impl<'a> Sync for QueryColors<'a>
impl<'a> Unpin for QueryColors<'a>
impl<'a> UnwindSafe for QueryColors<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)