[][src]Struct gluon_vm::thread::StackInfo

pub struct StackInfo<'a> { /* fields omitted */ }

Methods

impl<'a> StackInfo<'a>[src]

pub fn line(&self) -> Option<Line>[src]

Returns the line which create the current instruction of this frame

pub fn source_name(&self) -> &str[src]

Returns the name of the source which defined the funtion executing at this frame

pub fn function_name(&self) -> Option<&str>[src]

Returns the name of the function executing at this frame

pub fn locals(&self) -> LocalIter[src]

Returns an iterator over all locals available at the current executing instruction

pub fn upvars(&self) -> &[UpvarInfo][src]

Returns a slice with information about the values bound to this closure

Trait Implementations

impl<'_> Debug for StackInfo<'_>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for StackInfo<'a>

impl<'a> Send for StackInfo<'a>

impl<'a> Sync for StackInfo<'a>

impl<'a> Unpin for StackInfo<'a>

impl<'a> !UnwindSafe for StackInfo<'a>

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<'_, T> Captures<'_> for T[src]

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastArc for T where
    T: Downcast + Send + Sync
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

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

impl<D, T> FromPtr<D> for T[src]

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

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 
[src]

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

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.