pub enum ArgPart {
Text(String, bool),
Expr(Expr),
}Expand description
One fragment of a mixed Arg::Parts value.
Variants§
Text(String, bool)
Literal text. The bool marks source-quoted regions (exact bytes);
unquoted text carries single-space-normalized gaps.
Expr(Expr)
Typed expression — resolved via evaluate_expr, never stringified.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ArgPart
Auto Trait Implementations§
impl Freeze for ArgPart
impl RefUnwindSafe for ArgPart
impl Send for ArgPart
impl Sync for ArgPart
impl Unpin for ArgPart
impl UnsafeUnpin for ArgPart
impl UnwindSafe for ArgPart
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