Enum BackendApi
#[repr(u32)]pub enum BackendApi {
OpenGL = 0,
Vulkan = 1,
Metal = 2,
Direct3D = 3,
Mock = 4,
Unsupported = 5,
}
Variants§
Implementations§
§impl GrBackendApi
impl GrBackendApi
pub const OpenGL_GrBackend: GrBackendApi = GrBackendApi::OpenGL
Trait Implementations§
§impl Clone for GrBackendApi
impl Clone for GrBackendApi
§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 more§impl Debug for GrBackendApi
impl Debug for GrBackendApi
§impl Hash for GrBackendApi
impl Hash for GrBackendApi
§impl PartialEq for GrBackendApi
impl PartialEq for GrBackendApi
impl Copy for GrBackendApi
impl Eq for GrBackendApi
impl StructuralPartialEq for GrBackendApi
Auto Trait Implementations§
impl Freeze for GrBackendApi
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