pub trait UnsetFunctionEnvironment: FunctionEnvironment {
// Required method
fn unset_function(&mut self, name: &Self::FnName);
}Expand description
An interface for unsetting shell functions.
Required Methods§
Sourcefn unset_function(&mut self, name: &Self::FnName)
fn unset_function(&mut self, name: &Self::FnName)
Removes the definition of a function if it was registered.