Struct x11rb_protocol::protocol::xproto::AtomEnum

source ·
pub struct AtomEnum(/* private fields */);

Implementations§

source§

impl AtomEnum

source

pub const NONE: Self = _

source

pub const ANY: Self = _

source

pub const PRIMARY: Self = _

source

pub const SECONDARY: Self = _

source

pub const ARC: Self = _

source

pub const ATOM: Self = _

source

pub const BITMAP: Self = _

source

pub const CARDINAL: Self = _

source

pub const COLORMAP: Self = _

source

pub const CURSOR: Self = _

source

pub const CUT_BUFFE_R0: Self = _

source

pub const CUT_BUFFE_R1: Self = _

source

pub const CUT_BUFFE_R2: Self = _

source

pub const CUT_BUFFE_R3: Self = _

source

pub const CUT_BUFFE_R4: Self = _

source

pub const CUT_BUFFE_R5: Self = _

source

pub const CUT_BUFFE_R6: Self = _

source

pub const CUT_BUFFE_R7: Self = _

source

pub const DRAWABLE: Self = _

source

pub const FONT: Self = _

source

pub const INTEGER: Self = _

source

pub const PIXMAP: Self = _

source

pub const POINT: Self = _

source

pub const RECTANGLE: Self = _

source

pub const RESOURCE_MANAGER: Self = _

source

pub const RGB_COLOR_MAP: Self = _

source

pub const RGB_BEST_MAP: Self = _

source

pub const RGB_BLUE_MAP: Self = _

source

pub const RGB_DEFAULT_MAP: Self = _

source

pub const RGB_GRAY_MAP: Self = _

source

pub const RGB_GREEN_MAP: Self = _

source

pub const RGB_RED_MAP: Self = _

source

pub const STRING: Self = _

source

pub const VISUALID: Self = _

source

pub const WINDOW: Self = _

source

pub const WM_COMMAND: Self = _

source

pub const WM_HINTS: Self = _

source

pub const WM_CLIENT_MACHINE: Self = _

source

pub const WM_ICON_NAME: Self = _

source

pub const WM_ICON_SIZE: Self = _

source

pub const WM_NAME: Self = _

source

pub const WM_NORMAL_HINTS: Self = _

source

pub const WM_SIZE_HINTS: Self = _

source

pub const WM_ZOOM_HINTS: Self = _

source

pub const MIN_SPACE: Self = _

source

pub const NORM_SPACE: Self = _

source

pub const MAX_SPACE: Self = _

source

pub const END_SPACE: Self = _

source

pub const SUPERSCRIPT_X: Self = _

source

pub const SUPERSCRIPT_Y: Self = _

source

pub const SUBSCRIPT_X: Self = _

source

pub const SUBSCRIPT_Y: Self = _

source

pub const UNDERLINE_POSITION: Self = _

source

pub const UNDERLINE_THICKNESS: Self = _

source

pub const STRIKEOUT_ASCENT: Self = _

source

pub const STRIKEOUT_DESCENT: Self = _

source

pub const ITALIC_ANGLE: Self = _

source

pub const X_HEIGHT: Self = _

source

pub const QUAD_WIDTH: Self = _

source

pub const WEIGHT: Self = _

source

pub const POINT_SIZE: Self = _

source

pub const RESOLUTION: Self = _

source

pub const COPYRIGHT: Self = _

source

pub const NOTICE: Self = _

source

pub const FONT_NAME: Self = _

source

pub const FAMILY_NAME: Self = _

source

pub const FULL_NAME: Self = _

source

pub const CAP_HEIGHT: Self = _

source

pub const WM_CLASS: Self = _

source

pub const WM_TRANSIENT_FOR: Self = _

Trait Implementations§

source§

impl Clone for AtomEnum

source§

fn clone(&self) -> AtomEnum

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 AtomEnum

source§

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

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

impl Default for AtomEnum

source§

fn default() -> AtomEnum

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for AtomEnum

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<AtomEnum> for Option<u16>

source§

fn from(input: AtomEnum) -> Self

Converts to this type from the input type.
source§

impl From<AtomEnum> for Option<u32>

source§

fn from(input: AtomEnum) -> Self

Converts to this type from the input type.
source§

impl From<AtomEnum> for Option<u8>

source§

fn from(input: AtomEnum) -> Self

Converts to this type from the input type.
source§

impl From<AtomEnum> for u16

source§

fn from(input: AtomEnum) -> Self

Converts to this type from the input type.
source§

impl From<AtomEnum> for u32

source§

fn from(input: AtomEnum) -> Self

Converts to this type from the input type.
source§

impl From<AtomEnum> for u8

source§

fn from(input: AtomEnum) -> Self

Converts to this type from the input type.
source§

impl From<u8> for AtomEnum

source§

fn from(value: u8) -> Self

Converts to this type from the input type.
source§

impl Hash for AtomEnum

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for AtomEnum

source§

fn cmp(&self, other: &AtomEnum) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for AtomEnum

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for AtomEnum

source§

fn partial_cmp(&self, other: &AtomEnum) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

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 · source§

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
1.0.0 · source§

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

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for AtomEnum

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for AtomEnum

source§

impl Eq for AtomEnum

source§

impl StructuralPartialEq for AtomEnum

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,