Struct skia_bindings::GrYUVABackendTextureInfo
source · #[repr(C)]pub struct GrYUVABackendTextureInfo {
pub fYUVAInfo: SkYUVAInfo,
pub fPlaneFormats: [GrBackendFormat; 4],
pub fMipmapped: GrMipmapped,
pub fTextureOrigin: GrSurfaceOrigin,
}
Fields§
§fYUVAInfo: SkYUVAInfo
§fPlaneFormats: [GrBackendFormat; 4]
§fMipmapped: GrMipmapped
§fTextureOrigin: GrSurfaceOrigin
Implementations§
source§impl GrYUVABackendTextureInfo
impl GrYUVABackendTextureInfo
pub unsafe fn toYUVALocations(&self) -> SkYUVAInfo_YUVALocations
pub unsafe fn new( arg1: *const SkYUVAInfo, arg2: *const GrBackendFormat, arg3: GrMipmapped, arg4: GrSurfaceOrigin ) -> Self
Trait Implementations§
source§impl Clone for GrYUVABackendTextureInfo
impl Clone for GrYUVABackendTextureInfo
source§fn clone(&self) -> GrYUVABackendTextureInfo
fn clone(&self) -> GrYUVABackendTextureInfo
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 moreimpl Copy for GrYUVABackendTextureInfo
Auto Trait Implementations§
impl RefUnwindSafe for GrYUVABackendTextureInfo
impl Send for GrYUVABackendTextureInfo
impl Sync for GrYUVABackendTextureInfo
impl Unpin for GrYUVABackendTextureInfo
impl UnwindSafe for GrYUVABackendTextureInfo
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