Struct structopt_utilities::completions::Shell [−][src]
pub struct Shell(pub Shell);
Expand description
Shell wrapper type with additional traits.
Tuple Fields
0: Shell
Implementations
Convert a string to Shell
Safety
It is safe when text
is always one of ["bash", "fish", "zsh", "powershell", "elvish"]
.
Otherwise, it returns unreachable_unchecked()
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Shell
impl UnwindSafe for Shell
Blanket Implementations
Mutably borrows from an owned value. Read more
Apply f
to self
. Read more
Apply f
to &self
. Read more
Apply f
to &mut self
. Read more
Apply f
to &self
where f
takes a single parameter of type Param
and Self
implements trait AsRef<Param>
. Read more
Apply f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait AsMut<Param>
. Read more
Apply f
to &self
where f
takes a single parameter of type Param
and Self
implements trait Deref<Param>
. Read more
Apply f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait DerefMut<Param>
. Read more
Apply f
to &self
where f
takes a single parameter of type Param
and Self
implements trait Deref<Param>
. Read more
Apply f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait DerefMut<Param>
. Read more