Struct bexpand::Expression
source · pub struct Expression<'a>(_);Expand description
Bash-style brace expression. Can be created using TryFrom (like
"foo{bar,baz}biz".try_into()) or via FromStr
("foo{bar,baz}biz".parse()). TryFrom is preferred, because it will avoid
unnecessary allocations wherever possible, and tie to the lifetime of the
incoming string. FromStr will make String clones in unnecessary places.
Trait Implementations§
source§impl<'a> Clone for Expression<'a>
impl<'a> Clone for Expression<'a>
source§fn clone(&self) -> Expression<'a>
fn clone(&self) -> Expression<'a>
Returns a copy 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<'a> Debug for Expression<'a>
impl<'a> Debug for Expression<'a>
source§impl FromStr for Expression<'static>
impl FromStr for Expression<'static>
source§impl<'a> IntoIterator for Expression<'a>
impl<'a> IntoIterator for Expression<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Expression<'a>
impl<'a> Send for Expression<'a>
impl<'a> Sync for Expression<'a>
impl<'a> Unpin for Expression<'a>
impl<'a> UnwindSafe for Expression<'a>
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