pub struct StringStore<'a> { /* private fields */ }Expand description
Arena-allocated string pool with heap fallback for long strings.
Index 0 is a sentinel representing the empty string (no entry is stored for it). All stored strings receive 1-based indices.
Implementations§
Source§impl<'a> StringStore<'a>
impl<'a> StringStore<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for StringStore<'a>
impl<'a> !Send for StringStore<'a>
impl<'a> !Sync for StringStore<'a>
impl<'a> !UnwindSafe for StringStore<'a>
impl<'a> Freeze for StringStore<'a>
impl<'a> Unpin for StringStore<'a>
impl<'a> UnsafeUnpin for StringStore<'a>
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