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
Auto Trait Implementations§
impl Forget for BraceExpressionOrText
impl Freeze for BraceExpressionOrText
impl Move for BraceExpressionOrText
impl RefUnwindSafe for BraceExpressionOrText
impl Send for BraceExpressionOrText
impl Sync for BraceExpressionOrText
impl Unpin for BraceExpressionOrText
impl UnsafeUnpin 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