Enum wasm_nm::Symbol
[−]
[src]
pub enum Symbol<'a> { Import { name: &'a str, }, Export { name: &'a str, size: Option<usize>, }, Private { index: u32, name: Option<Cow<'a, str>>, size: Option<usize>, }, }
A symbol from a wasm file.
Variants
Import
An imported symbol.
Fields of Import
name: &'a str | The symbol's name. |
Export
An exported symbol.
Fields of Export
name: &'a str | The symbol's name. |
size: Option<usize> | The symbol's size, if available. |
Private
A private function that is not exported.
Fields of Private
index: u32 | The function table index for this private function. |
name: Option<Cow<'a, str>> | The name from the name section, if that information exists. |
size: Option<usize> | The symbol's size, if available. |
Trait Implementations
impl<'a> Clone for Symbol<'a>
[src]
fn clone(&self) -> Symbol<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more