#[repr(C)]pub struct GrBackendFormat {
pub fFormatData: GrBackendFormat_AnyFormatData,
pub fBackend: GrBackendApi,
pub fTextureType: GrTextureType,
pub fValid: bool,
}Fields§
§fFormatData: GrBackendFormat_AnyFormatData§fBackend: GrBackendApi§fTextureType: GrTextureType§fValid: boolImplementations§
Source§impl GrBackendFormat
impl GrBackendFormat
pub unsafe fn channelMask(&self) -> u32
pub unsafe fn desc(&self) -> GrColorFormatDesc
pub unsafe fn makeTexture2D(&self) -> GrBackendFormat
pub unsafe fn new() -> Self
pub unsafe fn new1(arg1: *const GrBackendFormat) -> Self
pub unsafe fn destruct(&mut self)
Auto Trait Implementations§
impl Freeze for GrBackendFormat
impl RefUnwindSafe for GrBackendFormat
impl Send for GrBackendFormat
impl Sync for GrBackendFormat
impl Unpin for GrBackendFormat
impl UnsafeUnpin for GrBackendFormat
impl UnwindSafe for GrBackendFormat
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