Enum ShaderCacheStrategy
#[repr(i32)]pub enum ShaderCacheStrategy {
SkSL = 0,
BackendSource = 1,
BackendBinary = 2,
}
Variants§
Trait Implementations§
§impl Clone for GrContextOptions_ShaderCacheStrategy
impl Clone for GrContextOptions_ShaderCacheStrategy
§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 more§impl PartialEq for GrContextOptions_ShaderCacheStrategy
impl PartialEq for GrContextOptions_ShaderCacheStrategy
§fn eq(&self, other: &GrContextOptions_ShaderCacheStrategy) -> bool
fn eq(&self, other: &GrContextOptions_ShaderCacheStrategy) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for GrContextOptions_ShaderCacheStrategy
impl Eq for GrContextOptions_ShaderCacheStrategy
impl StructuralPartialEq for GrContextOptions_ShaderCacheStrategy
Auto Trait Implementations§
impl Freeze for GrContextOptions_ShaderCacheStrategy
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