Enum xcb::Extension

source ·
pub enum Extension {
Show 30 variants BigRequests, XcMisc, Composite, Damage, Dpms, Dri2, Dri3, GenericEvent, Glx, Present, RandR, Record, Render, Res, ScreenSaver, Shape, Shm, Sync, Xevie, Xf86Dri, Xf86VidMode, XFixes, Xinerama, Input, Xkb, XPrint, SeLinux, Test, Xv, XvMc,
}
Expand description

Refers to a X protocol extension.

Variants§

§

BigRequests

The BIG-REQUESTS extension.

§

XcMisc

The XCMISC extension.

§

Composite

The Composite extension. Available with the composite cargo feature.

§

Damage

The DAMAGE extension. Available with the damage cargo feature.

§

Dpms

The DPMS extension. Available with the dpms cargo feature.

§

Dri2

The DRI2 extension. Available with the dri2 cargo feature.

§

Dri3

The DRI3 extension. Available with the dri3 cargo feature.

§

GenericEvent

The Generic Event Extension extension. Available with the ge cargo feature.

§

Glx

The GLX extension. Available with the glx cargo feature.

§

Present

The Present extension. Available with the present cargo feature.

§

RandR

The RANDR extension. Available with the randr cargo feature.

§

Record

The RECORD extension. Available with the record cargo feature.

§

Render

The RENDER extension. Available with the render cargo feature.

§

Res

The X-Resource extension. Available with the res cargo feature.

§

ScreenSaver

The MIT-SCREEN-SAVER extension. Available with the screensaver cargo feature.

§

Shape

The SHAPE extension. Available with the shape cargo feature.

§

Shm

The MIT-SHM extension. Available with the shm cargo feature.

§

Sync

The SYNC extension. Available with the sync cargo feature.

§

Xevie

The XEVIE extension. Available with the xevie cargo feature.

§

Xf86Dri

The XFree86-DRI extension. Available with the xf86dri cargo feature.

§

Xf86VidMode

The XFree86-VidModeExtension extension. Available with the xf86vidmode cargo feature.

§

XFixes

The XFIXES extension. Available with the xfixes cargo feature.

§

Xinerama

The XINERAMA extension. Available with the xinerama cargo feature.

§

Input

The XInputExtension extension. Available with the xinput cargo feature.

§

Xkb

The XKEYBOARD extension. Available with the xkb cargo feature.

§

XPrint

The XpExtension extension. Available with the xprint cargo feature.

§

SeLinux

The SELinux extension. Available with the xselinux cargo feature.

§

Test

The XTEST extension. Available with the xtest cargo feature.

§

Xv

The XVideo extension. Available with the xv cargo feature.

§

XvMc

The XVideo-MotionCompensation extension. Available with the xvmc cargo feature.

Trait Implementations§

source§

impl Clone for Extension

source§

fn clone(&self) -> Extension

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 Extension

source§

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

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

impl Display for Extension

source§

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

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

impl PartialEq for Extension

source§

fn eq(&self, other: &Extension) -> 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 Copy for Extension

source§

impl Eq for Extension

source§

impl StructuralPartialEq for Extension

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> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. 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.