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