pub enum TildeExpansion {
None,
First,
All,
}Expand description
An enum representing how tildes (~) are expanded.
Variants§
None
Tildes retain a literal value, no expansion is done.
First
Tildes are expanded if they are at the beginning of a word.
All
All tildes (either at start of word or after :) are expanded.
Trait Implementations§
Source§impl Clone for TildeExpansion
impl Clone for TildeExpansion
Source§fn clone(&self) -> TildeExpansion
fn clone(&self) -> TildeExpansion
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 TildeExpansion
impl Debug for TildeExpansion
Source§impl PartialEq for TildeExpansion
impl PartialEq for TildeExpansion
impl Copy for TildeExpansion
impl Eq for TildeExpansion
impl StructuralPartialEq for TildeExpansion
Auto Trait Implementations§
impl Freeze for TildeExpansion
impl RefUnwindSafe for TildeExpansion
impl Send for TildeExpansion
impl Sync for TildeExpansion
impl Unpin for TildeExpansion
impl UnwindSafe for TildeExpansion
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