pub(crate) struct Source {
pub uri: Uri,
pub text: String,
}Expand description
A source file’s text and the address the editor knows it by.
Fields§
§uri: Uri§text: StringTrait Implementations§
Auto Trait Implementations§
impl !Freeze for Source
impl !RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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