[][src]Trait artichoke_backend::core::TopSelf

pub trait TopSelf {
    type Value: Value;
    pub fn top_self(&mut self) -> Self::Value;
}

Return a Value-wrapped reference to top self.

Top self is the root object that evaled code is executed within. Global methods, classes, and modules are defined in top self.

Associated Types

type Value: Value[src]

Concrete Value type.

Loading content...

Required methods

pub fn top_self(&mut self) -> Self::Value[src]

Return a Value-wrapped reference to "top self".

Top self is the root object that evaled code is executed within. Global methods, classes, and modules are defined in top self.

Loading content...

Implementors

impl TopSelf for Artichoke[src]

type Value = Value

Loading content...