Struct x11rb_protocol::protocol::xproto::AllocColorReply
source · [−]pub struct AllocColorReply {
pub sequence: u16,
pub length: u32,
pub red: u16,
pub green: u16,
pub blue: u16,
pub pixel: u32,
}
Fields
sequence: u16
length: u32
red: u16
green: u16
blue: u16
pixel: u32
Trait Implementations
sourceimpl Clone for AllocColorReply
impl Clone for AllocColorReply
sourcefn clone(&self) -> AllocColorReply
fn clone(&self) -> AllocColorReply
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AllocColorReply
impl Debug for AllocColorReply
sourceimpl Default for AllocColorReply
impl Default for AllocColorReply
sourcefn default() -> AllocColorReply
fn default() -> AllocColorReply
Returns the “default value” for a type. Read more
sourceimpl From<AllocColorReply> for Reply
impl From<AllocColorReply> for Reply
sourcefn from(reply: AllocColorReply) -> Reply
fn from(reply: AllocColorReply) -> Reply
Converts to this type from the input type.
sourceimpl Hash for AllocColorReply
impl Hash for AllocColorReply
sourceimpl Ord for AllocColorReply
impl Ord for AllocColorReply
sourceimpl PartialEq<AllocColorReply> for AllocColorReply
impl PartialEq<AllocColorReply> for AllocColorReply
sourcefn eq(&self, other: &AllocColorReply) -> bool
fn eq(&self, other: &AllocColorReply) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AllocColorReply) -> bool
fn ne(&self, other: &AllocColorReply) -> bool
This method tests for !=
.
sourceimpl PartialOrd<AllocColorReply> for AllocColorReply
impl PartialOrd<AllocColorReply> for AllocColorReply
sourcefn partial_cmp(&self, other: &AllocColorReply) -> Option<Ordering>
fn partial_cmp(&self, other: &AllocColorReply) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl TryParse for AllocColorReply
impl TryParse for AllocColorReply
impl Copy for AllocColorReply
impl Eq for AllocColorReply
impl StructuralEq for AllocColorReply
impl StructuralPartialEq for AllocColorReply
Auto Trait Implementations
impl RefUnwindSafe for AllocColorReply
impl Send for AllocColorReply
impl Sync for AllocColorReply
impl Unpin for AllocColorReply
impl UnwindSafe for AllocColorReply
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more