[−][src]Enum wlroots::render::TextureFormat
Wrapper around wl_shm_format, to make it easier and nicer to type.
Variants
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
Trait Implementations
impl Into<wl_shm_format> for TextureFormat
[src]
impl Into<wl_shm_format> for TextureFormat
fn into(self) -> wl_shm_format
[src]
fn into(self) -> wl_shm_format
Performs the conversion.
Auto Trait Implementations
impl Send for TextureFormat
impl Send for TextureFormat
impl Sync for TextureFormat
impl Sync for TextureFormat
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 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