pub struct Argument<'input> {
pub position: Position<'input>,
pub position_span: Range<usize>,
pub format: FormatSpec<'input>,
}
Expand description
Representation of an argument specification.
Fields§
§position: Position<'input>
Where to find this argument
position_span: Range<usize>
The span of the position indicator. Includes any whitespace in implicit
positions ({ }
).
format: FormatSpec<'input>
How to format the argument
Implementations§
Trait Implementations§
impl<'input> StructuralPartialEq for Argument<'input>
Auto Trait Implementations§
impl<'input> Freeze for Argument<'input>
impl<'input> RefUnwindSafe for Argument<'input>
impl<'input> Send for Argument<'input>
impl<'input> Sync for Argument<'input>
impl<'input> Unpin for Argument<'input>
impl<'input> UnwindSafe for Argument<'input>
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