Struct xcb::x::AllocColorPlanes
source · pub struct AllocColorPlanes {
pub contiguous: bool,
pub cmap: Colormap,
pub colors: u16,
pub reds: u16,
pub greens: u16,
pub blues: u16,
}
Expand description
The AllocColorPlanes
request.
This request replies AllocColorPlanesReply.
Associated cookie types are AllocColorPlanesCookie and AllocColorPlanesCookieUnchecked.
Fields§
§contiguous: bool
§cmap: Colormap
§colors: u16
§reds: u16
§greens: u16
§blues: u16
Trait Implementations§
source§impl Clone for AllocColorPlanes
impl Clone for AllocColorPlanes
source§fn clone(&self) -> AllocColorPlanes
fn clone(&self) -> AllocColorPlanes
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 AllocColorPlanes
impl Debug for AllocColorPlanes
source§impl RawRequest for AllocColorPlanes
impl RawRequest for AllocColorPlanes
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 Request for AllocColorPlanes
impl Request for AllocColorPlanes
source§impl RequestWithReply for AllocColorPlanes
impl RequestWithReply for AllocColorPlanes
source§type Reply = AllocColorPlanesReply
type Reply = AllocColorPlanesReply
Reply associated with the request
source§type Cookie = AllocColorPlanesCookie
type Cookie = AllocColorPlanesCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = AllocColorPlanesCookieUnchecked
type CookieUnchecked = AllocColorPlanesCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl Freeze for AllocColorPlanes
impl RefUnwindSafe for AllocColorPlanes
impl Send for AllocColorPlanes
impl Sync for AllocColorPlanes
impl Unpin for AllocColorPlanes
impl UnwindSafe for AllocColorPlanes
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
)