x11_dl::xrender

Type Alias XIndexValue

Source
pub type XIndexValue = _XIndexValue;

Aliased Type§

struct XIndexValue {
    pub pixel: u64,
    pub red: u16,
    pub green: u16,
    pub blue: u16,
    pub alpha: u16,
}

Fields§

§pixel: u64§red: u16§green: u16§blue: u16§alpha: u16

Trait Implementations

Source§

impl Clone for _XIndexValue

Source§

fn clone(&self) -> _XIndexValue

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _XIndexValue

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _XIndexValue

Source§

fn eq(&self, other: &_XIndexValue) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _XIndexValue

Source§

impl StructuralPartialEq for _XIndexValue