pub struct AllocColorPlanesRequest {
pub contiguous: bool,
pub cmap: u32,
pub colors: u16,
pub reds: u16,
pub greens: u16,
pub blues: u16,
}Fields§
§contiguous: bool§cmap: u32§colors: u16§reds: u16§greens: u16§blues: u16Implementations§
Trait Implementations§
Source§impl Clone for AllocColorPlanesRequest
impl Clone for AllocColorPlanesRequest
Source§fn clone(&self) -> AllocColorPlanesRequest
fn clone(&self) -> AllocColorPlanesRequest
Returns a duplicate 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 Hash for AllocColorPlanesRequest
impl Hash for AllocColorPlanesRequest
Source§impl Ord for AllocColorPlanesRequest
impl Ord for AllocColorPlanesRequest
Source§fn cmp(&self, other: &AllocColorPlanesRequest) -> Ordering
fn cmp(&self, other: &AllocColorPlanesRequest) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AllocColorPlanesRequest
impl PartialEq for AllocColorPlanesRequest
Source§impl PartialOrd for AllocColorPlanesRequest
impl PartialOrd for AllocColorPlanesRequest
Source§impl ReplyRequest for AllocColorPlanesRequest
impl ReplyRequest for AllocColorPlanesRequest
Source§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
impl Eq for AllocColorPlanesRequest
impl StructuralPartialEq for AllocColorPlanesRequest
Auto Trait Implementations§
impl Freeze for AllocColorPlanesRequest
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