pub trait Parse2<'a, 'b, C>{
type I;
// Required methods
fn parse2(
i: Init<C, Self::I>,
k: &'static str,
c: &C,
p: &mut ParsedArgs<'a, 'b>,
) -> Result<Self, ArgParseErr<'b>>;
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<'a, 'b>, ) -> Result<Self, ArgParseErr<'b>>
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.