#[repr(C)]pub struct GrBackendTexture {
pub fIsValid: bool,
pub fWidth: c_int,
pub fHeight: c_int,
pub fLabel: std_string,
pub fMipmapped: skgpu_Mipmapped,
pub fBackend: GrBackendApi,
pub fTextureType: GrTextureType,
pub fTextureData: GrBackendTexture_AnyTextureData,
}Fields§
§fIsValid: bool§fWidth: c_int§fHeight: c_int§fLabel: std_string§fMipmapped: skgpu_Mipmapped§fBackend: GrBackendApi§fTextureType: GrTextureType§fTextureData: GrBackendTexture_AnyTextureDataImplementations§
Source§impl GrBackendTexture
impl GrBackendTexture
pub unsafe fn getBackendFormat(&self) -> GrBackendFormat
pub unsafe fn setMutableState(&mut self, arg1: *const skgpu_MutableTextureState)
pub unsafe fn isProtected(&self) -> bool
pub unsafe fn isSameTexture(&mut self, arg1: *const GrBackendTexture) -> bool
pub unsafe fn new() -> Self
pub unsafe fn new1(that: *const GrBackendTexture) -> Self
pub unsafe fn destruct(&mut self)
Auto Trait Implementations§
impl Freeze for GrBackendTexture
impl RefUnwindSafe for GrBackendTexture
impl Send for GrBackendTexture
impl Sync for GrBackendTexture
impl Unpin for GrBackendTexture
impl UnsafeUnpin for GrBackendTexture
impl UnwindSafe for GrBackendTexture
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