pub struct ActiveHelpConfig {
pub show_on_double_tab: bool,
pub show_on_no_completions: bool,
pub disabled: bool,
pub disable_env_var: Option<String>,
}Expand description
Configuration for ActiveHelp behavior
Fields§
§show_on_double_tab: boolWhether to show help on double-TAB
show_on_no_completions: boolWhether to show help when no completions are available
disabled: boolWhether to disable ActiveHelp globally
disable_env_var: Option<String>Environment variable to check for disabling ActiveHelp
Implementations§
Source§impl ActiveHelpConfig
impl ActiveHelpConfig
Sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Checks if ActiveHelp is enabled based on configuration and environment
Trait Implementations§
Source§impl Clone for ActiveHelpConfig
impl Clone for ActiveHelpConfig
Source§fn clone(&self) -> ActiveHelpConfig
fn clone(&self) -> ActiveHelpConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActiveHelpConfig
impl Debug for ActiveHelpConfig
Auto Trait Implementations§
impl Freeze for ActiveHelpConfig
impl RefUnwindSafe for ActiveHelpConfig
impl Send for ActiveHelpConfig
impl Sync for ActiveHelpConfig
impl Unpin for ActiveHelpConfig
impl UnwindSafe for ActiveHelpConfig
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
Mutably borrows from an owned value. Read more