Trait LevelsHost
pub trait LevelsHost {
// Provided methods
fn is_loaded(&self, id: &str) -> bool { ... }
fn chunk(&self, level: LevelRef, pos: [i32; 2]) -> Option<ChunkRef> { ... }
}Expand description
The host’s methods both sides share of the levels area, implemented by the game and reached through Host.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".