[−][src]Struct skia_bindings::SkImageGenerator
Fields
vtable_: *const SkImageGenerator__bindgen_vtable
fInfo: SkImageInfo
fUniqueID: u32
Methods
impl SkImageGenerator
[src]
pub unsafe fn getPixels(
&mut self,
info: *const SkImageInfo,
pixels: *mut c_void,
rowBytes: usize
) -> bool
[src]
&mut self,
info: *const SkImageInfo,
pixels: *mut c_void,
rowBytes: usize
) -> bool
pub unsafe fn queryYUVA8(
&self,
sizeInfo: *mut SkYUVASizeInfo,
yuvaIndices: *mut SkYUVAIndex,
colorSpace: *mut SkYUVColorSpace
) -> bool
[src]
&self,
sizeInfo: *mut SkYUVASizeInfo,
yuvaIndices: *mut SkYUVAIndex,
colorSpace: *mut SkYUVColorSpace
) -> bool
pub unsafe fn getYUVA8Planes(
&mut self,
sizeInfo: *const SkYUVASizeInfo,
yuvaIndices: *const SkYUVAIndex,
planes: *mut *mut c_void
) -> bool
[src]
&mut self,
sizeInfo: *const SkYUVASizeInfo,
yuvaIndices: *const SkYUVAIndex,
planes: *mut *mut c_void
) -> bool
pub unsafe fn generateTexture(
&mut self,
arg1: *mut GrRecordingContext,
info: *const SkImageInfo,
origin: *const SkIPoint,
willNeedMipMaps: bool
) -> sk_sp<GrTextureProxy>
[src]
&mut self,
arg1: *mut GrRecordingContext,
info: *const SkImageInfo,
origin: *const SkIPoint,
willNeedMipMaps: bool
) -> sk_sp<GrTextureProxy>
pub unsafe fn MakeFromEncoded(arg1: sk_sp<SkData>) -> u64
[src]
pub unsafe fn MakeFromPicture(
arg1: *const SkISize,
arg2: sk_sp<SkPicture>,
arg3: *const SkMatrix,
arg4: *const SkPaint,
arg5: SkImage_BitDepth,
arg6: sk_sp<SkColorSpace>
) -> u64
[src]
arg1: *const SkISize,
arg2: sk_sp<SkPicture>,
arg3: *const SkMatrix,
arg4: *const SkPaint,
arg5: SkImage_BitDepth,
arg6: sk_sp<SkColorSpace>
) -> u64
pub unsafe fn new(info: *const SkImageInfo, uniqueId: u32) -> Self
[src]
Auto Trait Implementations
impl !Send for SkImageGenerator
impl Unpin for SkImageGenerator
impl !Sync for SkImageGenerator
impl !RefUnwindSafe for SkImageGenerator
impl UnwindSafe for SkImageGenerator
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,