pub trait Parameter {
const REGEX: &'static str;
const NAME: &'static str;
}
Available on crate feature
macros
only.Expand description
Custom parameter of a Cucumber Expression.
Should be implemented only with via Parameter
derive macro.
Required Associated Constants§
Sourceconst NAME: &'static str
const NAME: &'static str
Name of this Parameter
to be referenced by in
Cucumber Expressions.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.