Skip to main content

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".

Implementations on Foreign Types§

Source§

impl<SE: ShellExtensions, S: ShellBuilderState> ShellBuilderExt for ShellBuilder<SE, S>

Source§

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

Implementors§