pub enum ShellDialect {
Auto,
Bash,
Posix,
Mksh,
Zsh,
}Expand description
Formatter option types exposed by the shell formatter.
Variants§
Implementations§
Source§impl ShellDialect
impl ShellDialect
Trait Implementations§
Source§impl Clone for ShellDialect
impl Clone for ShellDialect
Source§fn clone(&self) -> ShellDialect
fn clone(&self) -> ShellDialect
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 ShellDialect
impl Debug for ShellDialect
Source§impl Default for ShellDialect
impl Default for ShellDialect
Source§fn default() -> ShellDialect
fn default() -> ShellDialect
Returns the “default value” for a type. Read more
Source§impl PartialEq for ShellDialect
impl PartialEq for ShellDialect
impl Copy for ShellDialect
impl Eq for ShellDialect
impl StructuralPartialEq for ShellDialect
Auto Trait Implementations§
impl Freeze for ShellDialect
impl RefUnwindSafe for ShellDialect
impl Send for ShellDialect
impl Sync for ShellDialect
impl Unpin for ShellDialect
impl UnsafeUnpin for ShellDialect
impl UnwindSafe for ShellDialect
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