Skip to main content

ConsoleExt

Trait ConsoleExt 

Source
pub trait ConsoleExt {
    // Required method
    fn install_extensions(&mut self) -> &mut Self;
}
Expand description

Ergonomic extension methods on the core Console.

Defined here (not in core) so the core remains free of our additions.

Required Methods§

Source

fn install_extensions(&mut self) -> &mut Self

Install this crate’s default extensions onto the console.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ConsoleExt for Console

Source§

fn install_extensions(&mut self) -> &mut Self

Implementors§