Trait ClientOptionsClientHost
pub trait ClientOptionsClientHost {
// Provided methods
fn input_options(&self) -> ClientInputOptions { ... }
fn graphics_options(&self) -> ClientGraphicsOptions { ... }
fn gui_options(&self) -> ClientGuiOptions { ... }
fn chat_options(&self) -> ClientChatOptions { ... }
fn audio_options(&self) -> ClientAudioOptions { ... }
}Expand description
The client host’s methods of the client_options area, implemented by the game and reached through crate::ClientHost.
Provided Methods§
fn input_options(&self) -> ClientInputOptions
fn input_options(&self) -> ClientInputOptions
Side: client. A snapshot of the current input preferences.
fn graphics_options(&self) -> ClientGraphicsOptions
fn graphics_options(&self) -> ClientGraphicsOptions
Side: client. A snapshot of the current graphics preferences.
fn gui_options(&self) -> ClientGuiOptions
fn gui_options(&self) -> ClientGuiOptions
Side: client. A snapshot of the current GUI and accessibility preferences.
fn chat_options(&self) -> ClientChatOptions
fn chat_options(&self) -> ClientChatOptions
Side: client. A snapshot of the current chat preferences.
fn audio_options(&self) -> ClientAudioOptions
fn audio_options(&self) -> ClientAudioOptions
Side: client. A snapshot of the current audio preferences.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".