#[repr(C)]pub struct aiFileIO {
pub OpenProc: aiFileOpenProc,
pub CloseProc: aiFileCloseProc,
pub UserData: aiUserData,
}Expand description
@brief C-API: File system callbacks
Provided are functions to open and close files. Supply a custom structure to the import function. If you don’t, a default implementation is used. Use custom file systems to enable reading from other sources, such as ZIPs or memory locations.
Fields§
§OpenProc: aiFileOpenProcFunction used to open a new file
CloseProc: aiFileCloseProcFunction used to close an existing file
UserData: aiUserDataUser-defined, opaque data
Trait Implementations§
impl Copy for aiFileIO
impl Eq for aiFileIO
impl StructuralPartialEq for aiFileIO
Auto Trait Implementations§
impl Freeze for aiFileIO
impl RefUnwindSafe for aiFileIO
impl !Send for aiFileIO
impl !Sync for aiFileIO
impl Unpin for aiFileIO
impl UnwindSafe for aiFileIO
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