Struct xcb::x::LookupColor
source · pub struct LookupColor<'a> {
pub cmap: Colormap,
pub name: &'a [u8],
}
Expand description
The LookupColor
request.
This request replies LookupColorReply.
Associated cookie types are LookupColorCookie and LookupColorCookieUnchecked.
Fields§
§cmap: Colormap
§name: &'a [u8]
Trait Implementations§
source§impl<'a> Clone for LookupColor<'a>
impl<'a> Clone for LookupColor<'a>
source§fn clone(&self) -> LookupColor<'a>
fn clone(&self) -> LookupColor<'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 LookupColor<'a>
impl<'a> Debug for LookupColor<'a>
source§impl<'a> RawRequest for LookupColor<'a>
impl<'a> RawRequest for LookupColor<'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 LookupColor<'a>
impl<'a> Request for LookupColor<'a>
source§impl<'a> RequestWithReply for LookupColor<'a>
impl<'a> RequestWithReply for LookupColor<'a>
source§type Reply = LookupColorReply
type Reply = LookupColorReply
Reply associated with the request
source§type Cookie = LookupColorCookie
type Cookie = LookupColorCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = LookupColorCookieUnchecked
type CookieUnchecked = LookupColorCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl<'a> Freeze for LookupColor<'a>
impl<'a> RefUnwindSafe for LookupColor<'a>
impl<'a> Send for LookupColor<'a>
impl<'a> Sync for LookupColor<'a>
impl<'a> Unpin for LookupColor<'a>
impl<'a> UnwindSafe for LookupColor<'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
)