pub struct StringTable {
pub name: String,
pub entries: Vec<StringTableEntry>,
/* private fields */
}Expand description
A string table.
Fields§
§name: String§entries: Vec<StringTableEntry>Implementations§
Source§impl StringTable
impl StringTable
Sourcepub fn dirty_indices(&self) -> &[usize]
pub fn dirty_indices(&self) -> &[usize]
Entry indices written since the last per-tick callback.
A consumer that maintains its own per-index state can react to only
these entries rather than iterating (and decoding) every entry every
tick. The list is cleared by the parser after each callback via
StringTableContainer::clear_dirty. Indices may repeat.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StringTable
impl RefUnwindSafe for StringTable
impl Send for StringTable
impl Sync for StringTable
impl Unpin for StringTable
impl UnsafeUnpin for StringTable
impl UnwindSafe for StringTable
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