Trait Element

Source
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§

Source

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.

Implementors§