pub struct ProjectPack;Expand description
The project document kind for run::diagnose.
Trait Implementations§
Source§impl Clone for ProjectPack
impl Clone for ProjectPack
impl Copy for ProjectPack
Source§impl Debug for ProjectPack
impl Debug for ProjectPack
Source§impl Default for ProjectPack
impl Default for ProjectPack
Source§impl Pack for ProjectPack
impl Pack for ProjectPack
Source§fn document(&self) -> &str
fn document(&self) -> &str
The document kind and root name of its paths:
project, spec, template.Source§fn refuse(&self, text: &str) -> Option<Diagnostic>
fn refuse(&self, text: &str) -> Option<Diagnostic>
A refusal before the text is read, such as a size limit; the report holds it alone.
Source§fn refuse_tree(&self, tree: &Node, root: &Path) -> Option<Diagnostic>
fn refuse_tree(&self, tree: &Node, root: &Path) -> Option<Diagnostic>
A refusal after the text is read, such as a version this build does not read; the walk
and the judge are then skipped.
Auto Trait Implementations§
impl Forget for ProjectPack
impl Freeze for ProjectPack
impl Move for ProjectPack
impl RefUnwindSafe for ProjectPack
impl Send for ProjectPack
impl Sync for ProjectPack
impl Unpin for ProjectPack
impl UnsafeUnpin for ProjectPack
impl UnwindSafe for ProjectPack
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