Skip to main content

DisplaysServerHost

Trait DisplaysServerHost 

pub trait DisplaysServerHost {
    // Provided method
    fn display(&self, entity: EntityRef) -> Option<DisplayRef> { ... }
}
Expand description

The server host’s methods of the displays area, implemented by the game and reached through ServerHost.

Provided Methods§

fn display(&self, entity: EntityRef) -> Option<DisplayRef>

Side: server. Narrows an entity to a display, or None for another kind, a stale handle or a client.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§