#[repr(C)]pub struct BLImageCodecVirt {
pub destroy: Option<unsafe extern "C" fn(impl_: *mut BLImageCodecImpl) -> BLResult>,
pub inspectData: Option<unsafe extern "C" fn(impl_: *const BLImageCodecImpl, data: *const u8, size: usize) -> u32>,
pub createDecoder: Option<unsafe extern "C" fn(impl_: *const BLImageCodecImpl, dst: *mut BLImageDecoderCore) -> BLResult>,
pub createEncoder: Option<unsafe extern "C" fn(impl_: *const BLImageCodecImpl, dst: *mut BLImageEncoderCore) -> BLResult>,
}Fields§
§destroy: Option<unsafe extern "C" fn(impl_: *mut BLImageCodecImpl) -> BLResult>§inspectData: Option<unsafe extern "C" fn(impl_: *const BLImageCodecImpl, data: *const u8, size: usize) -> u32>§createDecoder: Option<unsafe extern "C" fn(impl_: *const BLImageCodecImpl, dst: *mut BLImageDecoderCore) -> BLResult>§createEncoder: Option<unsafe extern "C" fn(impl_: *const BLImageCodecImpl, dst: *mut BLImageEncoderCore) -> BLResult>Trait Implementations§
Source§impl Clone for BLImageCodecVirt
impl Clone for BLImageCodecVirt
Source§fn clone(&self) -> BLImageCodecVirt
fn clone(&self) -> BLImageCodecVirt
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 BLImageCodecVirt
Auto Trait Implementations§
impl Freeze for BLImageCodecVirt
impl RefUnwindSafe for BLImageCodecVirt
impl Send for BLImageCodecVirt
impl Sync for BLImageCodecVirt
impl Unpin for BLImageCodecVirt
impl UnwindSafe for BLImageCodecVirt
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