pub(crate) trait ParseArgument: ParseArgumentWith {
// Required method
fn handle_argument<'a>(
&mut self,
meta: &ParseNestedMeta<'_>,
key: &str,
error: impl Into<ArgumentError<'a>>,
) -> Result<bool>;
// Provided method
fn parse_argument<'a>(
&mut self,
meta: &ParseNestedMeta<'_>,
key: &str,
error: impl Into<ArgumentError<'a>>,
) -> Result<bool> { ... }
}Required Methods§
fn handle_argument<'a>( &mut self, meta: &ParseNestedMeta<'_>, key: &str, error: impl Into<ArgumentError<'a>>, ) -> Result<bool>
Provided Methods§
fn parse_argument<'a>( &mut self, meta: &ParseNestedMeta<'_>, key: &str, error: impl Into<ArgumentError<'a>>, ) -> Result<bool>
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.