pub trait Element: Sized {
type ParseState: ElementState<Output = Self>;
}
Expand description
Parsable element
This links the (default) state type used to parse this element.
Required Associated Types§
Sourcetype ParseState: ElementState<Output = Self>
type ParseState: ElementState<Output = Self>
Parse state to use for this element
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.