pub struct ParsedNamedArgs<'a> {
map: HashMap<&'a str, Pair<'a, Rule>>,
}
Expand description
Extracts named arguments from pest pairs with duplicate detection and completeness checking.
Usage: extractor.pop("limit", Rule::fetch_value).0.pop("offset", Rule::fetch_value).0.done()
The fluent API ensures all arguments are processed exactly once and none are forgotten.
Fields§
§map: HashMap<&'a str, Pair<'a, Rule>>
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ParsedNamedArgs<'a>
impl<'a> RefUnwindSafe for ParsedNamedArgs<'a>
impl<'a> !Send for ParsedNamedArgs<'a>
impl<'a> !Sync for ParsedNamedArgs<'a>
impl<'a> Unpin for ParsedNamedArgs<'a>
impl<'a> UnwindSafe for ParsedNamedArgs<'a>
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