Enum rant::runtime::StackFrameFlavor[][src]

pub enum StackFrameFlavor {
    Original,
    NativeCall,
    BlockElement,
    RepeaterElement,
    FunctionBody,
    DynamicKeyExpression,
    ArgumentExpression,
}

Hints at what kind of program element a specific stack frame represents.

The runtime can use this information to find where to unwind the call stack to on specific operations like breaking, returning, etc.

Variants

Original

Nothing special.

NativeCall

Native function call.

BlockElement

Frame is used for a block element.

RepeaterElement

Frame is used for a repeater element.

FunctionBody

Frame is used for the body of a function.

DynamicKeyExpression

Frame is used to evaluate a dynamic key.

ArgumentExpression

Frame is used to evaluate a function argument.

Trait Implementations

impl Clone for StackFrameFlavor[src]

impl Copy for StackFrameFlavor[src]

impl Debug for StackFrameFlavor[src]

impl Default for StackFrameFlavor[src]

impl PartialEq<StackFrameFlavor> for StackFrameFlavor[src]

impl PartialOrd<StackFrameFlavor> for StackFrameFlavor[src]

impl StructuralPartialEq for StackFrameFlavor[src]

Auto Trait Implementations

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<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,