pub struct AllocColor {
pub cmap: ColormapId,
pub red: u16,
pub green: u16,
pub blue: u16,
}Fields§
§cmap: ColormapId§red: u16§green: u16§blue: u16Trait Implementations§
Source§impl Clone for AllocColor
impl Clone for AllocColor
Source§fn clone(&self) -> AllocColor
fn clone(&self) -> AllocColor
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 AllocColor
impl Debug for AllocColor
Source§impl LeBytes for AllocColor
impl LeBytes for AllocColor
Source§impl XRequest for AllocColor
impl XRequest for AllocColor
type Reply = AllocColor
fn reply_type() -> Option<ReplyType>
Auto Trait Implementations§
impl Freeze for AllocColor
impl RefUnwindSafe for AllocColor
impl Send for AllocColor
impl Sync for AllocColor
impl Unpin for AllocColor
impl UnwindSafe for AllocColor
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