pub struct ExprSegment {
pub start: usize,
pub end: usize,
pub hash: u64,
pub kind: SegmentKind,
}Expand description
Expression segment for incremental re-parsing.
Fields§
§start: usize§end: usize§hash: u64§kind: SegmentKindImplementations§
Source§impl ExprSegment
impl ExprSegment
Trait Implementations§
Source§impl Clone for ExprSegment
impl Clone for ExprSegment
Source§fn clone(&self) -> ExprSegment
fn clone(&self) -> ExprSegment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExprSegment
impl RefUnwindSafe for ExprSegment
impl Send for ExprSegment
impl Sync for ExprSegment
impl Unpin for ExprSegment
impl UnsafeUnpin for ExprSegment
impl UnwindSafe for ExprSegment
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