[−][src]Struct tm_rs::ffi::tm_collaboration_api
Fields
create: Option<unsafe extern "C" fn(*mut tm_allocator_i, *const tm_collaboration_config_t) -> *mut tm_collaboration_o>
destroy: Option<unsafe extern "C" fn(*mut tm_collaboration_o)>
status: Option<unsafe extern "C" fn(*const tm_collaboration_o) -> i32>
is_downloading: Option<unsafe extern "C" fn(*const tm_collaboration_o, *mut u64, *mut u64) -> bool>
set_session: Option<unsafe extern "C" fn(*mut tm_collaboration_o, *const tm_collaboration_session_i)>
session: Option<unsafe extern "C" fn(*mut tm_collaboration_o) -> *mut tm_collaboration_session_i>
disconnect: Option<unsafe extern "C" fn(*mut tm_collaboration_o)>
update: Option<unsafe extern "C" fn(*mut tm_collaboration_o)>
handle: Option<unsafe extern "C" fn(*const tm_collaboration_o) -> *const i8>
set_handle: Option<unsafe extern "C" fn(*mut tm_collaboration_o, *mut i8)>
host_handle: Option<unsafe extern "C" fn(*const tm_collaboration_o) -> *const i8>
num_clients: Option<unsafe extern "C" fn(*const tm_collaboration_o) -> u32>
client_handle: Option<unsafe extern "C" fn(*const tm_collaboration_o, u32) -> *const i8>
all_handles: Option<unsafe extern "C" fn(*const tm_collaboration_o, *mut tm_temp_allocator_i) -> *mut *const i8>
send_chat: Option<unsafe extern "C" fn(*mut tm_collaboration_o, *const i8)>
num_chat_messages: Option<unsafe extern "C" fn(*const tm_collaboration_o) -> u32>
chat_message: Option<unsafe extern "C" fn(*const tm_collaboration_o, u32, *mut *const i8) -> *const i8>
resynchronize_state: Option<unsafe extern "C" fn(*mut tm_collaboration_o, *mut tm_the_truth_o)>
send_test_packages: Option<unsafe extern "C" fn(*mut tm_collaboration_o, u64, u32)>
Trait Implementations
impl Clone for tm_collaboration_api
[src]
pub fn clone(&self) -> tm_collaboration_api
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for tm_collaboration_api
[src]
Auto Trait Implementations
impl RefUnwindSafe for tm_collaboration_api
impl Send for tm_collaboration_api
impl Sync for tm_collaboration_api
impl Unpin for tm_collaboration_api
impl UnwindSafe for tm_collaboration_api
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,