pub struct SegmentBoundary { /* private fields */ }Expand description
The per-line carry state at a segment edge - opaque, comparable, sendable. Two edges compare equal iff everything downstream is provably identical (the convergence theorem: same state + same text => same tokens) — which includes coming from the same engine: a state carries its theme’s styles and its grammar’s contexts, so edges from different engines never compare equal.
Trait Implementations§
Source§impl Clone for SegmentBoundary
impl Clone for SegmentBoundary
Source§impl PartialEq for SegmentBoundary
impl PartialEq for SegmentBoundary
impl StructuralPartialEq for SegmentBoundary
Auto Trait Implementations§
impl Freeze for SegmentBoundary
impl RefUnwindSafe for SegmentBoundary
impl Send for SegmentBoundary
impl Sync for SegmentBoundary
impl Unpin for SegmentBoundary
impl UnsafeUnpin for SegmentBoundary
impl UnwindSafe for SegmentBoundary
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