Struct ketos::name::NameInputConversion [] [src]

pub struct NameInputConversion {
    // some fields omitted
}

Converts module-local names loaded from bytecode files into global names in a running interpreter.

Methods

impl NameInputConversion
[src]

fn new() -> NameInputConversion

Creates a new NameInputConversion from a local-to-global mapping.

fn get(&self, name: u32) -> Option<Name>

Returns the global name value for the given module-local value.

fn insert(&mut self, name: Name)

Insert a global name value into the map.

Trait Implementations

impl Debug for NameInputConversion
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for NameInputConversion
[src]

fn clone(&self) -> NameInputConversion

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more