pub trait SubstAsSupportStatus: Sized {
type Marker;
type Parsed: Parse + ToTokens;
// Required method
fn new(kw: &IdentAny) -> Result<SubstAsSupported<Self>>;
}Expand description
Implemented for syn types supported in this build, and MetaUnsupported
Required Associated Types§
Required Methods§
fn new(kw: &IdentAny) -> Result<SubstAsSupported<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.