#[repr(C)]pub struct tm_streamable_buffers_i {
pub __bindgen_padding_0: [u64; 10],
pub map: Option<unsafe extern "C" fn(*mut tm_buffers_o, *const i8, u64, u64, u64) -> u32>,
pub map_database: Option<unsafe extern "C" fn(*mut tm_buffers_o, u64, u64, *const tm_file_o, u32, u32, u32) -> u32>,
pub is_mapped: Option<unsafe extern "C" fn(*const tm_buffers_o, u32) -> bool>,
pub is_loaded: Option<unsafe extern "C" fn(*const tm_buffers_o, u32) -> bool>,
pub unload: Option<unsafe extern "C" fn(*mut tm_buffers_o, u32)>,
pub save: Option<unsafe extern "C" fn(*mut tm_buffers_o, u32, *const i8, u64)>,
pub background_load_all: Option<unsafe extern "C" fn(*mut tm_buffers_o)>,
pub ensure_all_loaded: Option<unsafe extern "C" fn(*mut tm_buffers_o)>,
pub set_io: Option<unsafe extern "C" fn(*mut tm_buffers_o, *mut tm_os_file_io_api)>,
}Fields§
§__bindgen_padding_0: [u64; 10]§map: Option<unsafe extern "C" fn(*mut tm_buffers_o, *const i8, u64, u64, u64) -> u32>§map_database: Option<unsafe extern "C" fn(*mut tm_buffers_o, u64, u64, *const tm_file_o, u32, u32, u32) -> u32>§is_mapped: Option<unsafe extern "C" fn(*const tm_buffers_o, u32) -> bool>§is_loaded: Option<unsafe extern "C" fn(*const tm_buffers_o, u32) -> bool>§unload: Option<unsafe extern "C" fn(*mut tm_buffers_o, u32)>§save: Option<unsafe extern "C" fn(*mut tm_buffers_o, u32, *const i8, u64)>§background_load_all: Option<unsafe extern "C" fn(*mut tm_buffers_o)>§ensure_all_loaded: Option<unsafe extern "C" fn(*mut tm_buffers_o)>§set_io: Option<unsafe extern "C" fn(*mut tm_buffers_o, *mut tm_os_file_io_api)>Trait Implementations§
Source§impl Clone for tm_streamable_buffers_i
impl Clone for tm_streamable_buffers_i
Source§fn clone(&self) -> tm_streamable_buffers_i
fn clone(&self) -> tm_streamable_buffers_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_streamable_buffers_i
Auto Trait Implementations§
impl Freeze for tm_streamable_buffers_i
impl RefUnwindSafe for tm_streamable_buffers_i
impl Send for tm_streamable_buffers_i
impl Sync for tm_streamable_buffers_i
impl Unpin for tm_streamable_buffers_i
impl UnwindSafe for tm_streamable_buffers_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