Struct embed_nu::CommandGroupConfig
source · pub struct CommandGroupConfig { /* private fields */ }
Expand description
Enables or disables certain command groups
Implementations§
source§impl CommandGroupConfig
impl CommandGroupConfig
sourcepub fn all_groups(self, enabled: bool) -> Self
pub fn all_groups(self, enabled: bool) -> Self
Enables all commands
sourcepub fn core_group(self, enabled: bool) -> Self
pub fn core_group(self, enabled: bool) -> Self
Enables core commands
sourcepub fn debug_group(self, enabled: bool) -> Self
pub fn debug_group(self, enabled: bool) -> Self
Enables debug commands
sourcepub fn filter_group(self, enabled: bool) -> Self
pub fn filter_group(self, enabled: bool) -> Self
Enables filter commands
sourcepub fn chart_group(self, enabled: bool) -> Self
pub fn chart_group(self, enabled: bool) -> Self
Enables chart commands
sourcepub fn misc_group(self, enabled: bool) -> Self
pub fn misc_group(self, enabled: bool) -> Self
Enables misc commands
sourcepub fn path_group(self, enabled: bool) -> Self
pub fn path_group(self, enabled: bool) -> Self
Enables commands that allow path manipulation
sourcepub fn system_group(self, enabled: bool) -> Self
pub fn system_group(self, enabled: bool) -> Self
Enables system commands
sourcepub fn string_group(self, enabled: bool) -> Self
pub fn string_group(self, enabled: bool) -> Self
Enables commands to manipulate strings
sourcepub fn byte_group(self, enabled: bool) -> Self
pub fn byte_group(self, enabled: bool) -> Self
Enables commands to manipulate bytes
sourcepub fn file_system_group(self, enabled: bool) -> Self
pub fn file_system_group(self, enabled: bool) -> Self
Enables commands that allow file system operations
sourcepub fn platform_group(self, enabled: bool) -> Self
pub fn platform_group(self, enabled: bool) -> Self
Enables commands that allow using shell features like ansi colors
sourcepub fn date_group(self, enabled: bool) -> Self
pub fn date_group(self, enabled: bool) -> Self
Enables commands that allow datetime manipulation
sourcepub fn shell_group(self, enabled: bool) -> Self
pub fn shell_group(self, enabled: bool) -> Self
Enables commands that allow creating and switching between nu shell instances
sourcepub fn format_group(self, enabled: bool) -> Self
pub fn format_group(self, enabled: bool) -> Self
Enables commands that allow parsing from one data format to another
sourcepub fn viewer_group(self, enabled: bool) -> Self
pub fn viewer_group(self, enabled: bool) -> Self
Enables commands that allow displaying data in certain viewers like a table or grid
sourcepub fn conversion_group(self, enabled: bool) -> Self
pub fn conversion_group(self, enabled: bool) -> Self
Enables commands that allow converting from one data format to another
sourcepub fn environment_group(self, enabled: bool) -> Self
pub fn environment_group(self, enabled: bool) -> Self
Enables commands that allow manipulating environment variables
sourcepub fn math_group(self, enabled: bool) -> Self
pub fn math_group(self, enabled: bool) -> Self
Enables math related commands
sourcepub fn network_group(self, enabled: bool) -> Self
pub fn network_group(self, enabled: bool) -> Self
Enables commands that allow networking
sourcepub fn random_group(self, enabled: bool) -> Self
pub fn random_group(self, enabled: bool) -> Self
Enables commands that generate random values
sourcepub fn generator_group(self, enabled: bool) -> Self
pub fn generator_group(self, enabled: bool) -> Self
Enables commands that generate values for a given input
sourcepub fn hash_group(self, enabled: bool) -> Self
pub fn hash_group(self, enabled: bool) -> Self
Enables commands that work with hash sums
sourcepub fn experimental_group(self, enabled: bool) -> Self
pub fn experimental_group(self, enabled: bool) -> Self
Enables commands that are still experimental like is-admin
and view-source
Trait Implementations§
source§impl Clone for CommandGroupConfig
impl Clone for CommandGroupConfig
source§fn clone(&self) -> CommandGroupConfig
fn clone(&self) -> CommandGroupConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CommandGroupConfig
impl Debug for CommandGroupConfig
source§impl Default for CommandGroupConfig
impl Default for CommandGroupConfig
source§fn default() -> CommandGroupConfig
fn default() -> CommandGroupConfig
Auto Trait Implementations§
impl RefUnwindSafe for CommandGroupConfig
impl Send for CommandGroupConfig
impl Sync for CommandGroupConfig
impl Unpin for CommandGroupConfig
impl UnwindSafe for CommandGroupConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
§fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
§fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
§fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
§fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
§fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>
fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>
§fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>
fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>
§fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
§fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
§fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
§fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
§fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
§fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
§fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
§fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
§fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
§fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
§fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
§fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
§fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
§fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
§fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
§fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
§fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
§fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
§fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
§fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg
or
a color-specific method, such as OwoColorize::green
, Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg
or
a color-specific method, such as OwoColorize::on_yellow
, Read more