#[repr(C)]pub struct AssetIoI {
pub inst: *mut AssetIoO,
pub enabled: Option<unsafe extern "C" fn(inst: *mut AssetIoO) -> bool>,
pub can_import: Option<unsafe extern "C" fn(inst: *mut AssetIoO, extension: *const c_char) -> bool>,
pub can_reimport: Option<unsafe extern "C" fn(inst: *mut AssetIoO, tt: *mut TheTruthO, asset: TtIdT) -> bool>,
pub importer_extensions_string: Option<unsafe extern "C" fn(inst: *mut AssetIoO, output: *mut *mut c_char, ta: *mut TempAllocatorI, separator: *const c_char)>,
pub importer_description_string: Option<unsafe extern "C" fn(inst: *mut AssetIoO, output: *mut *mut c_char, ta: *mut TempAllocatorI, separator: *const c_char)>,
pub import_asset: Option<unsafe extern "C" fn(inst: *mut AssetIoO, file: *const c_char, import: *const AssetIoImport) -> u64>,
pub can_export: Option<unsafe extern "C" fn(inst: *mut AssetIoO, tt: *mut TheTruthO, asset: TtIdT) -> bool>,
pub exporter_extension: Option<unsafe extern "C" fn(inst: *mut AssetIoO, tt: *mut TheTruthO, asset: TtIdT) -> *const c_char>,
pub export_asset: Option<unsafe extern "C" fn(inst: *mut AssetIoO, file: *const c_char, tt: *mut TheTruthO, asset_root: TtIdT, asset: TtIdT)>,
}Fields§
§inst: *mut AssetIoO§enabled: Option<unsafe extern "C" fn(inst: *mut AssetIoO) -> bool>§can_import: Option<unsafe extern "C" fn(inst: *mut AssetIoO, extension: *const c_char) -> bool>§can_reimport: Option<unsafe extern "C" fn(inst: *mut AssetIoO, tt: *mut TheTruthO, asset: TtIdT) -> bool>§importer_extensions_string: Option<unsafe extern "C" fn(inst: *mut AssetIoO, output: *mut *mut c_char, ta: *mut TempAllocatorI, separator: *const c_char)>§importer_description_string: Option<unsafe extern "C" fn(inst: *mut AssetIoO, output: *mut *mut c_char, ta: *mut TempAllocatorI, separator: *const c_char)>§import_asset: Option<unsafe extern "C" fn(inst: *mut AssetIoO, file: *const c_char, import: *const AssetIoImport) -> u64>§can_export: Option<unsafe extern "C" fn(inst: *mut AssetIoO, tt: *mut TheTruthO, asset: TtIdT) -> bool>§exporter_extension: Option<unsafe extern "C" fn(inst: *mut AssetIoO, tt: *mut TheTruthO, asset: TtIdT) -> *const c_char>§export_asset: Option<unsafe extern "C" fn(inst: *mut AssetIoO, file: *const c_char, tt: *mut TheTruthO, asset_root: TtIdT, asset: TtIdT)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssetIoI
impl RefUnwindSafe for AssetIoI
impl !Send for AssetIoI
impl !Sync for AssetIoI
impl Unpin for AssetIoI
impl UnwindSafe for AssetIoI
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