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