Enum skia_bindings::GrBackendApi
source · #[repr(u32)]pub enum GrBackendApi {
OpenGL,
Vulkan,
Metal,
Direct3D,
Dawn,
Mock,
}
Variants§
Implementations§
source§impl GrBackendApi
impl GrBackendApi
pub const OpenGL_GrBackend: GrBackendApi = GrBackendApi::OpenGL
Trait Implementations§
source§impl Clone for GrBackendApi
impl Clone for GrBackendApi
source§fn clone(&self) -> GrBackendApi
fn clone(&self) -> GrBackendApi
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 Debug for GrBackendApi
impl Debug for GrBackendApi
source§impl Hash for GrBackendApi
impl Hash for GrBackendApi
source§impl PartialEq<GrBackendApi> for GrBackendApi
impl PartialEq<GrBackendApi> for GrBackendApi
source§fn eq(&self, other: &GrBackendApi) -> bool
fn eq(&self, other: &GrBackendApi) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GrBackendApi
impl Eq for GrBackendApi
impl StructuralEq for GrBackendApi
impl StructuralPartialEq for GrBackendApi
Auto Trait Implementations§
impl RefUnwindSafe for GrBackendApi
impl Send for GrBackendApi
impl Sync for GrBackendApi
impl Unpin for GrBackendApi
impl UnwindSafe for GrBackendApi
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