Skip to main content

MenusClientHost

Trait MenusClientHost 

pub trait MenusClientHost {
    // Provided method
    fn local_player(&self) -> Option<PlayerRef> { ... }
}
Expand description

The client host’s methods of the menus area, implemented by the game and reached through crate::ClientHost.

Provided Methods§

fn local_player(&self) -> Option<PlayerRef>

Side: client. The local player in a logged-in client world.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§