pub trait Parse2<C>{
type I;
// Required methods
fn parse2(
i: Init<C, Self::I>,
k: &'static str,
c: &C,
p: &mut ParsedArgs<'_>,
) -> Result<Self, ArgParseErr>;
fn desc2(
i: Init<C, Self::I>,
d: &'static str,
k: &'static str,
c: &C,
) -> [String; 4];
fn default2(c: &C, i: Init<C, Self::I>) -> Self;
}Required Associated Types§
Required Methods§
fn parse2( i: Init<C, Self::I>, k: &'static str, c: &C, p: &mut ParsedArgs<'_>, ) -> Result<Self, ArgParseErr>
fn desc2( i: Init<C, Self::I>, d: &'static str, k: &'static str, c: &C, ) -> [String; 4]
fn default2(c: &C, i: Init<C, Self::I>) -> Self
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.