[][src]Struct fasteval::slab::CompileSlab

pub struct CompileSlab { /* fields omitted */ }

CompileSlab is where compile() results are stored, located at Slab.cs.

Methods

impl CompileSlab[src]

pub fn get_instr(&self, instr_i: InstructionI) -> &Instruction[src]

Returns a reference to the Instruction located at instr_i within the `CompileSlab.instrs'.

If instr_i is out-of-bounds, a reference to a default Instruction is returned.

pub fn clear(&mut self)[src]

Clears all data from CompileSlab.instrs.

Trait Implementations

impl Debug for CompileSlab[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, 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.