Struct cucumber_expressions::Parameter
source · [−]pub struct Parameter<Input> {
pub input: Input,
pub id: usize,
}
Expand description
parameter
defined in the grammar spec, allowing to match some special
Input
described by a Parameter
name.
See parse::parameter()
for the detailed grammar and examples.
Fields
input: Input
Inner Input
.
id: usize
Unique ID of this Parameter
in the parsed Expression
.
Trait Implementations
sourceimpl<Input> IntoRegexCharIter<Input> for Parameter<Input> where
Input: Clone + Display + InputIter,
<Input as InputIter>::Item: AsChar,
impl<Input> IntoRegexCharIter<Input> for Parameter<Input> where
Input: Clone + Display + InputIter,
<Input as InputIter>::Item: AsChar,
impl<Input: Copy> Copy for Parameter<Input>
impl<Input: Eq> Eq for Parameter<Input>
impl<Input> StructuralEq for Parameter<Input>
impl<Input> StructuralPartialEq for Parameter<Input>
Auto Trait Implementations
impl<Input> RefUnwindSafe for Parameter<Input> where
Input: RefUnwindSafe,
impl<Input> Send for Parameter<Input> where
Input: Send,
impl<Input> Sync for Parameter<Input> where
Input: Sync,
impl<Input> Unpin for Parameter<Input> where
Input: Unpin,
impl<Input> UnwindSafe for Parameter<Input> where
Input: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more