Struct skia_bindings::GrMockTextureInfo 
source · #[repr(C)]pub struct GrMockTextureInfo {
    pub fColorType: GrColorType,
    pub fCompressionType: SkTextureCompressionType,
    pub fID: c_int,
    pub fProtected: skgpu_Protected,
}Fields§
§fColorType: GrColorType§fCompressionType: SkTextureCompressionType§fID: c_int§fProtected: skgpu_ProtectedImplementations§
source§impl GrMockTextureInfo
 
impl GrMockTextureInfo
pub unsafe fn getBackendFormat(&self) -> GrBackendFormat
Trait Implementations§
source§impl Clone for GrMockTextureInfo
 
impl Clone for GrMockTextureInfo
source§fn clone(&self) -> GrMockTextureInfo
 
fn clone(&self) -> GrMockTextureInfo
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 GrMockTextureInfo
 
impl Debug for GrMockTextureInfo
impl Copy for GrMockTextureInfo
Auto Trait Implementations§
impl RefUnwindSafe for GrMockTextureInfo
impl Send for GrMockTextureInfo
impl Sync for GrMockTextureInfo
impl Unpin for GrMockTextureInfo
impl UnwindSafe for GrMockTextureInfo
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