Trait ProvideElement

Source
pub trait ProvideElement {
    type Element: Display;

    // Required method
    fn last(&self) -> &Self::Element;
}
Expand description

This is an utily trait

Required Associated Types§

Source

type Element: Display

Element associate with a Context. This is often an enum of different Atom.

Required Methods§

Source

fn last(&self) -> &Self::Element

return the last Element added to a Context

Implementors§