pub struct RowRef<'a> { /* private fields */ }Expand description
Sealed zero-copy view of one table row paired with its owning StrArena.
External crates cannot construct RowRef, guaranteeing that words and text belong to the
same crate::NodeStore and share lifetime 'a so Rust’s borrow checker statically prevents
mutating the arena while any borrowed &'a str is live.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for RowRef<'a>
impl<'a> Freeze for RowRef<'a>
impl<'a> Move for RowRef<'a>
impl<'a> RefUnwindSafe for RowRef<'a>
impl<'a> Send for RowRef<'a>
impl<'a> Sync for RowRef<'a>where
RawVecInner: Sync,
impl<'a> Unpin for RowRef<'a>
impl<'a> UnsafeUnpin for RowRef<'a>
impl<'a> UnwindSafe for RowRef<'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