Struct x11rb_protocol::protocol::xproto::AllocColorPlanesRequest
source · pub struct AllocColorPlanesRequest {
pub contiguous: bool,
pub cmap: Colormap,
pub colors: u16,
pub reds: u16,
pub greens: u16,
pub blues: u16,
}
Fields§
§contiguous: bool
§cmap: Colormap
§colors: u16
§reds: u16
§greens: u16
§blues: u16
Implementations§
Trait Implementations§
source§impl Clone for AllocColorPlanesRequest
impl Clone for AllocColorPlanesRequest
source§fn clone(&self) -> AllocColorPlanesRequest
fn clone(&self) -> AllocColorPlanesRequest
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 AllocColorPlanesRequest
impl Debug for AllocColorPlanesRequest
source§impl Default for AllocColorPlanesRequest
impl Default for AllocColorPlanesRequest
source§fn default() -> AllocColorPlanesRequest
fn default() -> AllocColorPlanesRequest
Returns the “default value” for a type. Read more
source§impl ReplyRequest for AllocColorPlanesRequest
impl ReplyRequest for AllocColorPlanesRequest
§type Reply = AllocColorPlanesReply
type Reply = AllocColorPlanesReply
The kind of reply that this request generates.
source§impl Request for AllocColorPlanesRequest
impl Request for AllocColorPlanesRequest
impl Copy for AllocColorPlanesRequest
Auto Trait Implementations§
impl RefUnwindSafe for AllocColorPlanesRequest
impl Send for AllocColorPlanesRequest
impl Sync for AllocColorPlanesRequest
impl Unpin for AllocColorPlanesRequest
impl UnwindSafe for AllocColorPlanesRequest
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