#[repr(C)]pub struct JpegDecoder {
pub vtable_: *const JpegDecoder__bindgen_vtable,
pub mProcessStage: u32,
pub mData: *mut u8,
pub mSize: i64,
pub _18: i32,
pub mFormat: u32,
pub mImgDimensions: Dimension,
pub _28: i64,
}Fields§
§vtable_: *const JpegDecoder__bindgen_vtable§mProcessStage: u32§mData: *mut u8§mSize: i64§_18: i32§mFormat: u32§mImgDimensions: Dimension§_28: i64Implementations§
Source§impl JpegDecoder
impl JpegDecoder
pub unsafe fn SetImageData(&mut self, source: *const u8, size: u64)
pub unsafe fn Analyze(&mut self) -> i32
pub unsafe fn GetAnalyzedDimension(&self) -> Dimension
pub unsafe fn GetAnalyzedWorkBufferSize(&self) -> i64
pub unsafe fn Decode( &mut self, out: *mut u8, arg1: i64, alignment: i32, arg2: *mut u8, arg3: i64, ) -> i32
pub unsafe fn new() -> JpegDecoder
Auto Trait Implementations§
impl Freeze for JpegDecoder
impl RefUnwindSafe for JpegDecoder
impl !Send for JpegDecoder
impl !Sync for JpegDecoder
impl Unpin for JpegDecoder
impl UnsafeUnpin for JpegDecoder
impl UnwindSafe for JpegDecoder
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