[][src]Struct kb::Scope

pub struct Scope { /* fields omitted */ }

Implementations

impl Scope[src]

pub fn new() -> Self[src]

pub fn get_name(&self, vscope: VarScope, index: u32) -> &RcStr[src]

pub fn get(&self, vscope: VarScope, index: u32) -> &Val[src]

pub fn set(&mut self, vscope: VarScope, index: u32, val: Val)[src]

pub fn push(&mut self, locals: &Vec<Var>)[src]

pub fn push_existing_locals(&mut self, map: IndexedMap)[src]

pub fn pop(&mut self) -> IndexedMap[src]

pub fn push_trace(&mut self, mark: Mark)[src]

pub fn pop_trace(&mut self)[src]

Auto Trait Implementations

impl !RefUnwindSafe for Scope

impl !Send for Scope

impl !Sync for Scope

impl Unpin for Scope

impl !UnwindSafe for Scope

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, 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.