[−][src]Enum wlroots::wl_shm_format
Variants
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
Trait Implementations
impl Clone for wl_shm_format
[src]
impl Clone for wl_shm_format
fn clone(&self) -> wl_shm_format
[src]
fn clone(&self) -> wl_shm_format
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for wl_shm_format
[src]
impl Copy for wl_shm_format
impl Debug for wl_shm_format
[src]
impl Debug for wl_shm_format
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Eq for wl_shm_format
[src]
impl Eq for wl_shm_format
impl Hash for wl_shm_format
[src]
impl Hash for wl_shm_format
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq<wl_shm_format> for wl_shm_format
[src]
impl PartialEq<wl_shm_format> for wl_shm_format
fn eq(&self, other: &wl_shm_format) -> bool
[src]
fn eq(&self, other: &wl_shm_format) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
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 wl_shm_format
impl Send for wl_shm_format
impl Sync for wl_shm_format
impl Sync for wl_shm_format
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> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
type Owned = T
fn to_owned(&self) -> T
[src]
fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src]
fn clone_into(&self, target: &mut T)
🔬 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]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
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>
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
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>
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