[][src]Enum sbnf::compiler::interpreter::TerminalEmbed

pub enum TerminalEmbed<'a> {
    Embed {
        embed: String,
        embed_scope: Scope,
        escape: String,
        escape_captures: HashMap<u16, Scope>,
    },
    Include {
        context: String,
        prototype: RuleKey<'a>,
    },
    None,
}

Variants

Embed

Fields of Embed

embed: Stringembed_scope: Scopeescape: Stringescape_captures: HashMap<u16, Scope>
Include

Fields of Include

context: Stringprototype: RuleKey<'a>
None

Trait Implementations

impl<'a> Debug for TerminalEmbed<'a>[src]

impl<'a> Eq for TerminalEmbed<'a>[src]

impl<'a> PartialEq<TerminalEmbed<'a>> for TerminalEmbed<'a>[src]

impl<'a> StructuralEq for TerminalEmbed<'a>[src]

impl<'a> StructuralPartialEq for TerminalEmbed<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for TerminalEmbed<'a>

impl<'a> Send for TerminalEmbed<'a>

impl<'a> Sync for TerminalEmbed<'a>

impl<'a> Unpin for TerminalEmbed<'a>

impl<'a> UnwindSafe for TerminalEmbed<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.