#[non_exhaustive]pub struct ReparseResult {
pub changed_ranges: Vec<Range<usize>>,
pub diagnostics: Vec<Diagnostic>,
pub reparsed_bytes: usize,
pub reused_tokens: usize,
pub token_count: usize,
}Expand description
Result of incremental reparse
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.changed_ranges: Vec<Range<usize>>§diagnostics: Vec<Diagnostic>§reparsed_bytes: usize§reused_tokens: usize§token_count: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for ReparseResult
impl !RefUnwindSafe for ReparseResult
impl Send for ReparseResult
impl Sync for ReparseResult
impl Unpin for ReparseResult
impl UnsafeUnpin for ReparseResult
impl UnwindSafe for ReparseResult
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