Trait HasExtraState

Source
pub trait HasExtraState<T> {
    // Required method
    fn get_extra_state(&self) -> T;
}

Required Methods§

Source

fn get_extra_state(&self) -> T

Implementations on Foreign Types§

Source§

impl HasExtraState<()> for &str

Source§

impl HasExtraState<()> for &[u8]

Source§

impl<T> HasExtraState<()> for LocatedSpan<T, ()>

Source§

impl<T, U, V> HasExtraState<T> for LocatedSpan<U, V>
where V: HasExtraState<T>,

Implementors§