pub struct DocumentState {
pub uri: Url,
pub content: String,
pub version: i32,
pub ast: Option<Document>,
pub semantic_model: Option<SemanticModel>,
pub diagnostics: Vec<Diagnostic>,
}Fields§
§uri: Url§content: String§version: i32§ast: Option<Document>§semantic_model: Option<SemanticModel>§diagnostics: Vec<Diagnostic>Implementations§
Source§impl DocumentState
impl DocumentState
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DocumentState
impl RefUnwindSafe for DocumentState
impl Send for DocumentState
impl Sync for DocumentState
impl Unpin for DocumentState
impl UnwindSafe for DocumentState
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