pub struct Manifest {
pub path: String,
pub text: String,
}Expand description
A file that a Language plugin reads to find workspace packages and resolve imports, such as a package.json or tsconfig.json file, as the host read it.
Fields§
§path: StringThe path of the file, relative to the repository root, with forward slashes.
text: StringThe whole file.
Trait Implementations§
impl Eq for Manifest
impl StructuralPartialEq for Manifest
Auto Trait Implementations§
impl Forget for Manifest
impl Freeze for Manifest
impl Move for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifestwhere
RawVecInner: Send,
impl Sync for Manifestwhere
RawVecInner: Sync,
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifestwhere
RawVecInner: UnwindSafe,
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