Trait State

Source
pub trait State: Default + Copy {
    // Required method
    fn default_layout() -> Option<Self>;
}
Expand description

This trait must be implemented by the parser state type.

Required Methods§

Source

fn default_layout() -> Option<Self>

Returns the default layout state.

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§