pub enum ReparseKind {
Token,
Block,
TopLevel,
Multi,
}Expand description
Which strategy produced a Reparsed. Surfaced for tests and benchmarks.
Variants§
Token
Block
TopLevel
Multi
A chained multi-edit reparse (reparse_edits): several single-edit
strategies applied in sequence. The final tree is still byte-identical to
a full parse.
Trait Implementations§
Source§impl Clone for ReparseKind
impl Clone for ReparseKind
impl Copy for ReparseKind
Source§impl Debug for ReparseKind
impl Debug for ReparseKind
impl Eq for ReparseKind
Source§impl PartialEq for ReparseKind
impl PartialEq for ReparseKind
impl StructuralPartialEq for ReparseKind
Auto Trait Implementations§
impl Freeze for ReparseKind
impl RefUnwindSafe for ReparseKind
impl Send for ReparseKind
impl Sync for ReparseKind
impl Unpin for ReparseKind
impl UnsafeUnpin for ReparseKind
impl UnwindSafe for ReparseKind
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