[][src]Enum wlroots::wl_shm_format

#[repr(u32)]
pub enum wl_shm_format { WL_SHM_FORMAT_ARGB8888, WL_SHM_FORMAT_XRGB8888, WL_SHM_FORMAT_C8, WL_SHM_FORMAT_RGB332, WL_SHM_FORMAT_BGR233, WL_SHM_FORMAT_XRGB4444, WL_SHM_FORMAT_XBGR4444, WL_SHM_FORMAT_RGBX4444, WL_SHM_FORMAT_BGRX4444, WL_SHM_FORMAT_ARGB4444, WL_SHM_FORMAT_ABGR4444, WL_SHM_FORMAT_RGBA4444, WL_SHM_FORMAT_BGRA4444, WL_SHM_FORMAT_XRGB1555, WL_SHM_FORMAT_XBGR1555, WL_SHM_FORMAT_RGBX5551, WL_SHM_FORMAT_BGRX5551, WL_SHM_FORMAT_ARGB1555, WL_SHM_FORMAT_ABGR1555, WL_SHM_FORMAT_RGBA5551, WL_SHM_FORMAT_BGRA5551, WL_SHM_FORMAT_RGB565, WL_SHM_FORMAT_BGR565, WL_SHM_FORMAT_RGB888, WL_SHM_FORMAT_BGR888, WL_SHM_FORMAT_XBGR8888, WL_SHM_FORMAT_RGBX8888, WL_SHM_FORMAT_BGRX8888, WL_SHM_FORMAT_ABGR8888, WL_SHM_FORMAT_RGBA8888, WL_SHM_FORMAT_BGRA8888, WL_SHM_FORMAT_XRGB2101010, WL_SHM_FORMAT_XBGR2101010, WL_SHM_FORMAT_RGBX1010102, WL_SHM_FORMAT_BGRX1010102, WL_SHM_FORMAT_ARGB2101010, WL_SHM_FORMAT_ABGR2101010, WL_SHM_FORMAT_RGBA1010102, WL_SHM_FORMAT_BGRA1010102, WL_SHM_FORMAT_YUYV, WL_SHM_FORMAT_YVYU, WL_SHM_FORMAT_UYVY, WL_SHM_FORMAT_VYUY, WL_SHM_FORMAT_AYUV, WL_SHM_FORMAT_NV12, WL_SHM_FORMAT_NV21, WL_SHM_FORMAT_NV16, WL_SHM_FORMAT_NV61, WL_SHM_FORMAT_YUV410, WL_SHM_FORMAT_YVU410, WL_SHM_FORMAT_YUV411, WL_SHM_FORMAT_YVU411, WL_SHM_FORMAT_YUV420, WL_SHM_FORMAT_YVU420, WL_SHM_FORMAT_YUV422, WL_SHM_FORMAT_YVU422, WL_SHM_FORMAT_YUV444, WL_SHM_FORMAT_YVU444, }

Variants

Trait Implementations

impl Clone for wl_shm_format
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for wl_shm_format
[src]

impl Debug for wl_shm_format
[src]

Formats the value using the given formatter. Read more

impl Eq for wl_shm_format
[src]

impl Hash for wl_shm_format
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<wl_shm_format> for wl_shm_format
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Into<wl_shm_format> for TextureFormat
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for wl_shm_format

impl Sync for wl_shm_format

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more