pub trait ArgumentSetMethods: Copy + Sized {
type Field: Sized;
// Required method
fn parse(
self,
args: &mut ArgumentStream<'_>,
field: &'static str,
) -> Result<Self::Field, EP>;
}
Available on crate feature
parse2
only.Expand description
Method for handling some multiplicity of Arguments
For use by macros.
See ArgumentSetSelector
and the module-level docs.
Required Associated Types§
Required Methods§
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.