pub enum BraceExpressionOrText {
Expr(BraceExpression),
Text(String),
}Expand description
Represents a sub-word that is either a brace expression or some other word text.
Variants§
Trait Implementations§
Source§impl Clone for BraceExpressionOrText
impl Clone for BraceExpressionOrText
Source§fn clone(&self) -> BraceExpressionOrText
fn clone(&self) -> BraceExpressionOrText
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 moreAuto Trait Implementations§
impl Freeze for BraceExpressionOrText
impl RefUnwindSafe for BraceExpressionOrText
impl Send for BraceExpressionOrText
impl Sync for BraceExpressionOrText
impl Unpin for BraceExpressionOrText
impl UnwindSafe for BraceExpressionOrText
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