#[repr(i32)]pub enum GrContextOptions_ShaderCacheStrategy {
SkSL,
BackendSource,
BackendBinary,
}
Variants§
Trait Implementations§
source§impl Clone for GrContextOptions_ShaderCacheStrategy
impl Clone for GrContextOptions_ShaderCacheStrategy
source§fn clone(&self) -> GrContextOptions_ShaderCacheStrategy
fn clone(&self) -> GrContextOptions_ShaderCacheStrategy
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 PartialEq<GrContextOptions_ShaderCacheStrategy> for GrContextOptions_ShaderCacheStrategy
impl PartialEq<GrContextOptions_ShaderCacheStrategy> for GrContextOptions_ShaderCacheStrategy
source§fn eq(&self, other: &GrContextOptions_ShaderCacheStrategy) -> bool
fn eq(&self, other: &GrContextOptions_ShaderCacheStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GrContextOptions_ShaderCacheStrategy
impl Eq for GrContextOptions_ShaderCacheStrategy
impl StructuralEq for GrContextOptions_ShaderCacheStrategy
impl StructuralPartialEq for GrContextOptions_ShaderCacheStrategy
Auto Trait Implementations§
impl RefUnwindSafe for GrContextOptions_ShaderCacheStrategy
impl Send for GrContextOptions_ShaderCacheStrategy
impl Sync for GrContextOptions_ShaderCacheStrategy
impl Unpin for GrContextOptions_ShaderCacheStrategy
impl UnwindSafe for GrContextOptions_ShaderCacheStrategy
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