pub struct StringTableBuilder<K: TypedIndex> { /* private fields */ }Expand description
String table builder.
Implementations§
Source§impl<K: TypedIndex> StringTableBuilder<K>
impl<K: TypedIndex> StringTableBuilder<K>
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new StringTableBuilder.
Sourcepub fn finish(self) -> StringTable<K>
pub fn finish(self) -> StringTable<K>
Finish building the StringTable.
Auto Trait Implementations§
impl<K> Freeze for StringTableBuilder<K>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more