pub struct SegmentWrite<'a> {
pub segment: &'a CachedSegment,
pub lexical_body: &'a str,
}Expand description
Transient keyword input paired with the segment evidence it describes. The cache consumes the body for indexing and never stores it as source text.
Fields§
§segment: &'a CachedSegment§lexical_body: &'a strTrait Implementations§
Source§impl<'a> Clone for SegmentWrite<'a>
impl<'a> Clone for SegmentWrite<'a>
Auto Trait Implementations§
impl<'a> Freeze for SegmentWrite<'a>
impl<'a> RefUnwindSafe for SegmentWrite<'a>
impl<'a> Send for SegmentWrite<'a>
impl<'a> Sync for SegmentWrite<'a>
impl<'a> Unpin for SegmentWrite<'a>
impl<'a> UnsafeUnpin for SegmentWrite<'a>
impl<'a> UnwindSafe for SegmentWrite<'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