[][src]Enum wlroots::render::TextureFormat

#[repr(u32)]
pub enum TextureFormat { ARGB8888, XRGB8888, C8, RGB332, BGR233, XRGB4444, XBGR4444, RGBX4444, BGRX4444, ARGB4444, ABGR4444, RGBA4444, BGRA4444, XRGB1555, XBGR1555, RGBX5551, BGRX5551, ARGB1555, ABGR1555, RGBA5551, BGRA5551, RGB565, BGR565, RGB888, BGR888, XBGR8888, RGBX8888, BGRX8888, ABGR8888, RGBA8888, BGRA8888, XRGB2101010, XBGR2101010, RGBX1010102, BGRX1010102, ARGB2101010, ABGR2101010, RGBA1010102, BGRA1010102, YUYV, YVYU, UYVY, VYUY, AYUV, NV12, NV21, NV16, NV61, YUV410, YVU410, YUV411, YVU411, YUV420, YVU420, YUV422, YVU422, YUV444, YVU444, }

Wrapper around wl_shm_format, to make it easier and nicer to type.

Variants

Trait Implementations

impl Into<wl_shm_format> for TextureFormat
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for TextureFormat

impl Sync for TextureFormat

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, 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