#[repr(C)]pub struct tm_gameplay_api {
pub context: *mut tm_gameplay_context_api,
pub entity: *mut tm_gameplay_entity_api,
pub physics: *mut tm_gameplay_physics_api,
pub get_asset: Option<unsafe extern "C" fn(*const tm_gameplay_context_t, *const i8) -> tm_tt_id_t>,
}Fields§
§context: *mut tm_gameplay_context_api§entity: *mut tm_gameplay_entity_api§physics: *mut tm_gameplay_physics_api§get_asset: Option<unsafe extern "C" fn(*const tm_gameplay_context_t, *const i8) -> tm_tt_id_t>Trait Implementations§
Source§impl Clone for tm_gameplay_api
impl Clone for tm_gameplay_api
Source§fn clone(&self) -> tm_gameplay_api
fn clone(&self) -> tm_gameplay_api
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_gameplay_api
Auto Trait Implementations§
impl Freeze for tm_gameplay_api
impl RefUnwindSafe for tm_gameplay_api
impl !Send for tm_gameplay_api
impl !Sync for tm_gameplay_api
impl Unpin for tm_gameplay_api
impl UnwindSafe for tm_gameplay_api
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