pub(crate) trait ParseArgumentWith {
type With;
// Required method
fn handle_argument_with<'a>(
&mut self,
meta: &ParseNestedMeta<'_>,
with: Self::With,
key: &str,
error: impl Into<ArgumentError<'a>>,
) -> Result<bool>;
// Provided method
fn parse_argument_with<'a>(
&mut self,
meta: &ParseNestedMeta<'_>,
with: Self::With,
key: &str,
error: impl Into<ArgumentError<'a>>,
) -> Result<bool> { ... }
}Required Associated Types§
Required Methods§
fn handle_argument_with<'a>( &mut self, meta: &ParseNestedMeta<'_>, with: Self::With, key: &str, error: impl Into<ArgumentError<'a>>, ) -> Result<bool>
Provided Methods§
fn parse_argument_with<'a>( &mut self, meta: &ParseNestedMeta<'_>, with: Self::With, 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.