pub struct Document {
pub id: SourceId,
pub label: PathBuf,
pub scope: Scope,
pub version: i64,
pub text: Arc<str>,
pub lines: LineIndex,
pub config: Option<String>,
/* private fields */
}Fields§
§id: SourceId§label: PathBuf§scope: Scope§version: i64§text: Arc<str>§lines: LineIndex§config: Option<String>Implementations§
Auto Trait Implementations§
impl Forget for Document
impl Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnsafeUnpin for Document
impl UnwindSafe for Document
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