Skip to main content

ConsoleEnvironment

Trait ConsoleEnvironment 

Source
pub trait ConsoleEnvironment {
    // Required methods
    fn set_render_environment(
        &mut self,
        value: Option<Arc<dyn RenderEnvironment>>,
    );
    fn render_environment(&self) -> Option<&dyn RenderEnvironment>;
}
Expand description

Attach/query a per-console immutable extension environment.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§