pub enum GrallocBackend {
Vulkano,
Minigbm,
System,
}
Expand description
Enumeration of possible allocation backends.
Variants§
Trait Implementations§
source§impl Clone for GrallocBackend
impl Clone for GrallocBackend
source§fn clone(&self) -> GrallocBackend
fn clone(&self) -> GrallocBackend
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 Ord for GrallocBackend
impl Ord for GrallocBackend
source§fn cmp(&self, other: &GrallocBackend) -> Ordering
fn cmp(&self, other: &GrallocBackend) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GrallocBackend
impl PartialEq for GrallocBackend
source§fn eq(&self, other: &GrallocBackend) -> bool
fn eq(&self, other: &GrallocBackend) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GrallocBackend
impl PartialOrd for GrallocBackend
source§fn partial_cmp(&self, other: &GrallocBackend) -> Option<Ordering>
fn partial_cmp(&self, other: &GrallocBackend) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for GrallocBackend
impl Eq for GrallocBackend
impl StructuralPartialEq for GrallocBackend
Auto Trait Implementations§
impl RefUnwindSafe for GrallocBackend
impl Send for GrallocBackend
impl Sync for GrallocBackend
impl Unpin for GrallocBackend
impl UnwindSafe for GrallocBackend
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