pub struct RutabagaGrallocBackendFlags(pub u32);
Expand description
Usage flags for constructing rutabaga gralloc backend
Tuple Fields§
§0: u32
Implementations§
source§impl RutabagaGrallocBackendFlags
impl RutabagaGrallocBackendFlags
sourcepub fn new() -> RutabagaGrallocBackendFlags
pub fn new() -> RutabagaGrallocBackendFlags
Returns new set of flags.
pub fn disable_vulkano(self) -> RutabagaGrallocBackendFlags
pub fn uses_system(&self) -> bool
pub fn uses_gbm(&self) -> bool
pub fn uses_vulkano(&self) -> bool
Trait Implementations§
source§impl Clone for RutabagaGrallocBackendFlags
impl Clone for RutabagaGrallocBackendFlags
source§fn clone(&self) -> RutabagaGrallocBackendFlags
fn clone(&self) -> RutabagaGrallocBackendFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for RutabagaGrallocBackendFlags
impl Default for RutabagaGrallocBackendFlags
source§fn default() -> RutabagaGrallocBackendFlags
fn default() -> RutabagaGrallocBackendFlags
Returns the “default value” for a type. Read more
source§impl PartialEq for RutabagaGrallocBackendFlags
impl PartialEq for RutabagaGrallocBackendFlags
source§fn eq(&self, other: &RutabagaGrallocBackendFlags) -> bool
fn eq(&self, other: &RutabagaGrallocBackendFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RutabagaGrallocBackendFlags
impl Eq for RutabagaGrallocBackendFlags
impl StructuralPartialEq for RutabagaGrallocBackendFlags
Auto Trait Implementations§
impl RefUnwindSafe for RutabagaGrallocBackendFlags
impl Send for RutabagaGrallocBackendFlags
impl Sync for RutabagaGrallocBackendFlags
impl Unpin for RutabagaGrallocBackendFlags
impl UnwindSafe for RutabagaGrallocBackendFlags
Blanket Implementations§
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