logo
pub trait ParametersProvider<Input> {
    type Item: AsChar;
    type Value: InputIter
   where
        <Self::Value as InputIter>::Item == Self::Item
; fn get(&self, input: &Input) -> Option<Self::Value>; }
Available on crate feature macros only.
Expand description

Provider of custom Parameters.

Required Associated Types

<Valueas[InputIter]>::Item.

Value matcher to be used in a Regex.

Usually, a Parameter is represented by a single Regex capturing group. In case there are multiple capturing groups, they will be named like __{parameter_id}_{group_id}. This is done to identify multiple capturing groups related to a single Parameter.

Required Methods

Returns a Value matcher corresponding to the given input, if any.

Implementations on Foreign Types

Implementors