[][src]Struct tm_rs::ffi::tm_collaboration_config_t

#[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(*mut c_void, *mut *mut i8, *mut tm_allocator_i)>,
    pub client_reset_truth: Option<unsafe extern "C" fn(*mut c_void) -> *mut tm_the_truth_o>,
    pub client_decompress_state: Option<unsafe extern "C" fn(*mut c_void, *const i8, u64, *mut tm_allocator_i) -> *mut i8>,
    pub client_buffer_hashes: Option<unsafe extern "C" fn(*mut c_void, *const i8, u64, *mut u64) -> *const u64>,
    pub client_load_state: Option<unsafe extern "C" fn(*mut c_void, *const i8, u64) -> bool>,
    pub cache_dir: *const i8,
}

Fields

tt: *mut tm_the_truth_oud: *mut c_voidhost_save_state: Option<unsafe extern "C" fn(*mut c_void, *mut *mut i8, *mut tm_allocator_i)>client_reset_truth: Option<unsafe extern "C" fn(*mut c_void) -> *mut tm_the_truth_o>client_decompress_state: Option<unsafe extern "C" fn(*mut c_void, *const i8, u64, *mut tm_allocator_i) -> *mut i8>client_buffer_hashes: Option<unsafe extern "C" fn(*mut c_void, *const i8, u64, *mut u64) -> *const u64>client_load_state: Option<unsafe extern "C" fn(*mut c_void, *const i8, u64) -> bool>cache_dir: *const i8

Trait Implementations

impl Clone for tm_collaboration_config_t[src]

impl Copy for tm_collaboration_config_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.