#[repr(C)]pub struct tm_collaboration_config_t {
pub tt: *mut tm_the_truth_o,
pub ud: *mut c_void,
pub host_save_state: Option<unsafe extern "C" fn(ud: *mut c_void, carray: *mut *mut c_char, a: *mut tm_allocator_i)>,
pub client_reset_truth: Option<unsafe extern "C" fn(ud: *mut c_void) -> *mut tm_the_truth_o>,
pub client_decompress_state: Option<unsafe extern "C" fn(app_ud: *mut c_void, state: *const c_char, size: u64, allocator: *mut tm_allocator_i) -> *mut c_char>,
pub client_buffer_hashes: Option<unsafe extern "C" fn(ud: *mut c_void, state: *const c_char, size: u64, count: *mut u64) -> *const u64>,
pub client_load_state: Option<unsafe extern "C" fn(ud: *mut c_void, state: *const c_char, size: u64) -> bool>,
pub cache_dir: *const c_char,
}Fields§
§tt: *mut tm_the_truth_o§ud: *mut c_void§host_save_state: Option<unsafe extern "C" fn(ud: *mut c_void, carray: *mut *mut c_char, a: *mut tm_allocator_i)>§client_reset_truth: Option<unsafe extern "C" fn(ud: *mut c_void) -> *mut tm_the_truth_o>§client_decompress_state: Option<unsafe extern "C" fn(app_ud: *mut c_void, state: *const c_char, size: u64, allocator: *mut tm_allocator_i) -> *mut c_char>§client_buffer_hashes: Option<unsafe extern "C" fn(ud: *mut c_void, state: *const c_char, size: u64, count: *mut u64) -> *const u64>§client_load_state: Option<unsafe extern "C" fn(ud: *mut c_void, state: *const c_char, size: u64) -> bool>§cache_dir: *const c_charTrait Implementations§
Source§impl Clone for tm_collaboration_config_t
impl Clone for tm_collaboration_config_t
Source§fn clone(&self) -> tm_collaboration_config_t
fn clone(&self) -> tm_collaboration_config_t
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_collaboration_config_t
Auto Trait Implementations§
impl Freeze for tm_collaboration_config_t
impl RefUnwindSafe for tm_collaboration_config_t
impl !Send for tm_collaboration_config_t
impl !Sync for tm_collaboration_config_t
impl Unpin for tm_collaboration_config_t
impl UnsafeUnpin for tm_collaboration_config_t
impl UnwindSafe for tm_collaboration_config_t
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