pub struct SegmentStoredText<'a> {
pub present: &'a [u8],
pub end_offsets: &'a [u64],
pub bytes: &'a [u8],
}Expand description
Dense optional UTF-8 source text aligned to one segment’s local row ids.
Fields§
§present: &'a [u8]One byte per dense row; zero is absent and one is present.
end_offsets: &'a [u64]Cumulative exclusive end offset for every row.
bytes: &'a [u8]Concatenated UTF-8 row payloads addressed by end_offsets.
Trait Implementations§
Source§impl<'a> Clone for SegmentStoredText<'a>
impl<'a> Clone for SegmentStoredText<'a>
impl<'a> Copy for SegmentStoredText<'a>
Auto Trait Implementations§
impl<'a> Freeze for SegmentStoredText<'a>
impl<'a> RefUnwindSafe for SegmentStoredText<'a>
impl<'a> Send for SegmentStoredText<'a>
impl<'a> Sync for SegmentStoredText<'a>
impl<'a> Unpin for SegmentStoredText<'a>
impl<'a> UnsafeUnpin for SegmentStoredText<'a>
impl<'a> UnwindSafe for SegmentStoredText<'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