Struct skia_bindings::SkImageGenerator
source · #[repr(C)]pub struct SkImageGenerator {
pub vtable_: *const SkImageGenerator__bindgen_vtable,
pub fInfo: SkImageInfo,
pub fUniqueID: u32,
}
Fields§
§vtable_: *const SkImageGenerator__bindgen_vtable
§fInfo: SkImageInfo
§fUniqueID: u32
Implementations§
source§impl SkImageGenerator
impl SkImageGenerator
pub unsafe fn getPixels( &mut self, info: *const SkImageInfo, pixels: *mut c_void, rowBytes: usize ) -> bool
pub unsafe fn queryYUVAInfo( &self, supportedDataTypes: *const SkYUVAPixmapInfo_SupportedDataTypes, yuvaPixmapInfo: *mut SkYUVAPixmapInfo ) -> bool
pub unsafe fn getYUVAPlanes( &mut self, yuvaPixmaps: *const SkYUVAPixmaps ) -> bool
pub unsafe fn new(info: *const SkImageInfo, uniqueId: u32) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SkImageGenerator
impl !Send for SkImageGenerator
impl !Sync for SkImageGenerator
impl Unpin for SkImageGenerator
impl UnwindSafe for SkImageGenerator
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