[][src]Struct wasmer_runtime_core::module::StringTableBuilder

pub struct StringTableBuilder<K: TypedIndex> { /* fields omitted */ }

String table builder.

Implementations

impl<K: TypedIndex> StringTableBuilder<K>[src]

pub fn new() -> Self[src]

Creates a new StringTableBuilder.

pub fn register<S>(&mut self, s: S) -> K where
    S: Into<String> + AsRef<str>, 
[src]

Register a new string into table.

pub fn finish(self) -> StringTable<K>[src]

Finish building the StringTable.

Auto Trait Implementations

impl<K> RefUnwindSafe for StringTableBuilder<K> where
    K: RefUnwindSafe

impl<K> Send for StringTableBuilder<K> where
    K: Send

impl<K> Sync for StringTableBuilder<K> where
    K: Sync

impl<K> Unpin for StringTableBuilder<K> where
    K: Unpin

impl<K> UnwindSafe for StringTableBuilder<K> where
    K: UnwindSafe

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> Same<T> for T

type Output = T

Should always be Self

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.