ShellBuilderExt

Trait ShellBuilderExt 

Source
pub trait ShellBuilderExt {
    // Required method
    fn default_builtins(self, set: BuiltinSet) -> Self;
}
Expand description

Extension trait that simplifies adding default builtins to a shell builder.

Required Methods§

Source

fn default_builtins(self, set: BuiltinSet) -> Self

Add default builtins to the shell being built.

§Arguments
  • set - The well-known set of built-ins to add.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<S: ShellBuilderState> ShellBuilderExt for ShellBuilder<S>

Source§

fn default_builtins(self, set: BuiltinSet) -> Self

Implementors§