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).
Trait Implementations§
Source§impl Clone for SegmentBoundary
impl Clone for SegmentBoundary
Source§fn clone(&self) -> SegmentBoundary
fn clone(&self) -> SegmentBoundary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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