#[repr(C)]pub struct tm_gameplay_context_t {Show 17 fields
pub state: *mut tm_gameplay_state_o,
pub dt: f32,
pub time: f32,
pub allocator: *mut tm_allocator_i,
pub entity_ctx: *mut tm_entity_context_o,
pub ui: *mut tm_ui_o,
pub uistyle: *mut tm_ui_style_t,
pub rect: tm_rect_t,
pub window: *mut tm_window_o,
pub tt: *mut tm_the_truth_o,
pub asset_root: tm_tt_id_t,
pub physx_scene: *mut tm_physx_scene_o,
pub octx: *mut tm_gameplay_context_o,
pub initialized: bool,
pub started: bool,
pub running_in_editor: bool,
pub _padding_75: [c_char; 5],
}Fields§
§state: *mut tm_gameplay_state_o§dt: f32§time: f32§allocator: *mut tm_allocator_i§entity_ctx: *mut tm_entity_context_o§ui: *mut tm_ui_o§uistyle: *mut tm_ui_style_t§rect: tm_rect_t§window: *mut tm_window_o§tt: *mut tm_the_truth_o§asset_root: tm_tt_id_t§physx_scene: *mut tm_physx_scene_o§octx: *mut tm_gameplay_context_o§initialized: bool§started: bool§running_in_editor: bool§_padding_75: [c_char; 5]Trait Implementations§
Source§impl Clone for tm_gameplay_context_t
impl Clone for tm_gameplay_context_t
Source§fn clone(&self) -> tm_gameplay_context_t
fn clone(&self) -> tm_gameplay_context_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_gameplay_context_t
Auto Trait Implementations§
impl Freeze for tm_gameplay_context_t
impl RefUnwindSafe for tm_gameplay_context_t
impl !Send for tm_gameplay_context_t
impl !Sync for tm_gameplay_context_t
impl Unpin for tm_gameplay_context_t
impl UnsafeUnpin for tm_gameplay_context_t
impl UnwindSafe for tm_gameplay_context_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