pub enum ShellBit {
Literal(String),
Quoted(String),
}Expand description
A single bit of a shell-ish string.
Variants§
Literal(String)
A literal string that does not participate in expansion. Comes from
'string'.
Quoted(String)
A string that is (possibly) quoted and participates in expansion. Comes
from "string" or string.
Trait Implementations§
Source§impl Ord for ShellBit
impl Ord for ShellBit
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ShellBit
impl PartialOrd for ShellBit
impl Eq for ShellBit
impl StructuralPartialEq for ShellBit
Auto Trait Implementations§
impl Freeze for ShellBit
impl RefUnwindSafe for ShellBit
impl Send for ShellBit
impl Sync for ShellBit
impl Unpin for ShellBit
impl UnsafeUnpin for ShellBit
impl UnwindSafe for ShellBit
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