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: u16Trait 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