#[repr(C)]pub struct BLImageDecoderVirt {
pub destroy: Option<unsafe extern "C" fn(impl_: *mut BLImageDecoderImpl) -> BLResult>,
pub restart: Option<unsafe extern "C" fn(impl_: *mut BLImageDecoderImpl) -> BLResult>,
pub readInfo: Option<unsafe extern "C" fn(impl_: *mut BLImageDecoderImpl, infoOut: *mut BLImageInfo, data: *const u8, size: usize) -> BLResult>,
pub readFrame: Option<unsafe extern "C" fn(impl_: *mut BLImageDecoderImpl, imageOut: *mut BLImageCore, data: *const u8, size: usize) -> BLResult>,
}Fields§
§destroy: Option<unsafe extern "C" fn(impl_: *mut BLImageDecoderImpl) -> BLResult>§restart: Option<unsafe extern "C" fn(impl_: *mut BLImageDecoderImpl) -> BLResult>§readInfo: Option<unsafe extern "C" fn(impl_: *mut BLImageDecoderImpl, infoOut: *mut BLImageInfo, data: *const u8, size: usize) -> BLResult>§readFrame: Option<unsafe extern "C" fn(impl_: *mut BLImageDecoderImpl, imageOut: *mut BLImageCore, data: *const u8, size: usize) -> BLResult>Trait Implementations§
Source§impl Clone for BLImageDecoderVirt
impl Clone for BLImageDecoderVirt
Source§fn clone(&self) -> BLImageDecoderVirt
fn clone(&self) -> BLImageDecoderVirt
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 BLImageDecoderVirt
Auto Trait Implementations§
impl Freeze for BLImageDecoderVirt
impl RefUnwindSafe for BLImageDecoderVirt
impl Send for BLImageDecoderVirt
impl Sync for BLImageDecoderVirt
impl Unpin for BLImageDecoderVirt
impl UnwindSafe for BLImageDecoderVirt
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