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 Forget for ArgPart
impl Freeze for ArgPartwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
&'static TypeDescriptor: Freeze,
*mut (): Freeze,
PhantomData<String>: Freeze,
PhantomData<Expr>: Freeze,
PhantomData<(String, Expr)>: Freeze,
PhantomData<Step>: Freeze,
*const Expr is !null: Freeze,
PhantomData<MathOp>: Freeze,
impl Move for ArgPart
impl RefUnwindSafe for ArgPart
impl Send for ArgPart
impl Sync for ArgPart
impl Unpin for ArgPart
impl UnsafeUnpin for ArgPartwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static TypeDescriptor: UnsafeUnpin,
*mut (): UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
PhantomData<(String, Expr)>: UnsafeUnpin,
PhantomData<Step>: UnsafeUnpin,
*const Expr is !null: UnsafeUnpin,
PhantomData<MathOp>: UnsafeUnpin,
impl UnwindSafe for ArgPartwhere
RawVecInner: UnwindSafe,
&'static TypeDescriptor: UnwindSafe,
*mut (): UnwindSafe,
BoxRaw<GuardExpr>: UnwindSafe,
BoxRaw<StepKind>: UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
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