pub struct RutabagaGrallocBackendFlags(pub u32);Expand description
Usage flags for constructing rutabaga gralloc backend
Tuple Fields§
§0: u32Implementations§
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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
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 Freeze for RutabagaGrallocBackendFlags
impl RefUnwindSafe for RutabagaGrallocBackendFlags
impl Send for RutabagaGrallocBackendFlags
impl Sync for RutabagaGrallocBackendFlags
impl Unpin for RutabagaGrallocBackendFlags
impl UnsafeUnpin 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