#[repr(C)]pub struct tm_image_loader_i {
pub inst: *mut tm_image_loader_o,
pub extensions_string: Option<unsafe extern "C" fn(*mut tm_image_loader_o, *mut *mut i8, *mut tm_temp_allocator_i, *const i8)>,
pub description_string: Option<unsafe extern "C" fn(*mut tm_image_loader_o, *mut *mut i8, *mut tm_temp_allocator_i, *const i8)>,
pub support_from_archive: Option<unsafe extern "C" fn(*mut tm_image_loader_o, *mut tm_image_archive_i) -> bool>,
pub support_from_extension: Option<unsafe extern "C" fn(*mut tm_image_loader_o, *const i8) -> bool>,
pub load_image: Option<unsafe extern "C" fn(*mut tm_image_loader_o, *mut tm_image_archive_i, *mut tm_image_t, *mut u8) -> bool>,
}Fields§
§inst: *mut tm_image_loader_o§extensions_string: Option<unsafe extern "C" fn(*mut tm_image_loader_o, *mut *mut i8, *mut tm_temp_allocator_i, *const i8)>§description_string: Option<unsafe extern "C" fn(*mut tm_image_loader_o, *mut *mut i8, *mut tm_temp_allocator_i, *const i8)>§support_from_archive: Option<unsafe extern "C" fn(*mut tm_image_loader_o, *mut tm_image_archive_i) -> bool>§support_from_extension: Option<unsafe extern "C" fn(*mut tm_image_loader_o, *const i8) -> bool>§load_image: Option<unsafe extern "C" fn(*mut tm_image_loader_o, *mut tm_image_archive_i, *mut tm_image_t, *mut u8) -> bool>Trait Implementations§
Source§impl Clone for tm_image_loader_i
impl Clone for tm_image_loader_i
Source§fn clone(&self) -> tm_image_loader_i
fn clone(&self) -> tm_image_loader_i
Returns a duplicate 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 tm_image_loader_i
Auto Trait Implementations§
impl Freeze for tm_image_loader_i
impl RefUnwindSafe for tm_image_loader_i
impl !Send for tm_image_loader_i
impl !Sync for tm_image_loader_i
impl Unpin for tm_image_loader_i
impl UnwindSafe for tm_image_loader_i
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