Trait ServicesClientHost
pub trait ServicesClientHost {
// Provided methods
fn instance_groups(&self) -> &dyn InstanceGroups { ... }
fn client_session(&self) -> &dyn ClientSession { ... }
fn render_assets(&self) -> &dyn RenderAssets { ... }
}Expand description
The client host’s methods of the services area, implemented by the game and reached through crate::ClientHost.
Provided Methods§
fn instance_groups(&self) -> &dyn InstanceGroups
fn instance_groups(&self) -> &dyn InstanceGroups
Persistent model groups. Not on wasm: a frame resource; its methods are the imports.
fn client_session(&self) -> &dyn ClientSession
fn client_session(&self) -> &dyn ClientSession
The client_session service. Not on wasm: a frame resource; its methods are the imports.
fn render_assets(&self) -> &dyn RenderAssets
fn render_assets(&self) -> &dyn RenderAssets
The render_assets service. Not on wasm: a frame resource; its methods are the imports.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".