#[repr(transparent)]pub struct GbmBoFlags(pub u32);Expand description
The uses of a buffer object (enum gbm_bo_flags), a set of flags.
Tuple Fields§
§0: u32Implementations§
Source§impl GbmBoFlags
impl GbmBoFlags
Sourcepub const GBM_BO_USE_SCANOUT: Self
pub const GBM_BO_USE_SCANOUT: Self
Buffer is going to be presented to the screen using an API such as KMS
Sourcepub const GBM_BO_USE_CURSOR: Self
pub const GBM_BO_USE_CURSOR: Self
Buffer is going to be used as cursor
Sourcepub const GBM_BO_USE_CURSOR_64X64: Self = Self::GBM_BO_USE_CURSOR
pub const GBM_BO_USE_CURSOR_64X64: Self = Self::GBM_BO_USE_CURSOR
Deprecated
Sourcepub const GBM_BO_USE_RENDERING: Self
pub const GBM_BO_USE_RENDERING: Self
Buffer is to be used for rendering - for example it is going to be used as the storage for a color buffer
Sourcepub const GBM_BO_USE_WRITE: Self
pub const GBM_BO_USE_WRITE: Self
Buffer can be used for gbm_bo_write. This is guaranteed to work with GBM_BO_USE_CURSOR, but may not work for other combinations.
Sourcepub const GBM_BO_USE_LINEAR: Self
pub const GBM_BO_USE_LINEAR: Self
Buffer is linear, i.e. not tiled.
Trait Implementations§
Source§impl BitOr for GbmBoFlags
impl BitOr for GbmBoFlags
Source§impl Clone for GbmBoFlags
impl Clone for GbmBoFlags
impl Copy for GbmBoFlags
Source§impl Debug for GbmBoFlags
impl Debug for GbmBoFlags
Source§impl Default for GbmBoFlags
impl Default for GbmBoFlags
impl Eq for GbmBoFlags
Source§impl Hash for GbmBoFlags
impl Hash for GbmBoFlags
Source§impl PartialEq for GbmBoFlags
impl PartialEq for GbmBoFlags
impl StructuralPartialEq for GbmBoFlags
Auto Trait Implementations§
impl Freeze for GbmBoFlags
impl RefUnwindSafe for GbmBoFlags
impl Send for GbmBoFlags
impl Sync for GbmBoFlags
impl Unpin for GbmBoFlags
impl UnsafeUnpin for GbmBoFlags
impl UnwindSafe for GbmBoFlags
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more