pub struct IncludeProjectDirectoryPlan { /* private fields */ }Expand description
The I/O-free, caller-authorized project-directory plan for an include traversal.
Implementations§
Source§impl IncludeProjectDirectoryPlan
impl IncludeProjectDirectoryPlan
Sourcepub fn entries(&self) -> &[IncludeProjectDirectoryEntry]
pub fn entries(&self) -> &[IncludeProjectDirectoryEntry]
Returns entries in retained node-index order.
Sourcepub fn entry(&self, node_index: usize) -> Option<&IncludeProjectDirectoryEntry>
pub fn entry(&self, node_index: usize) -> Option<&IncludeProjectDirectoryEntry>
Finds an occurrence entry by its retained node index.
Sourcepub fn diagnostics(&self) -> &[Diagnostic]
pub fn diagnostics(&self) -> &[Diagnostic]
Returns unchanged traversal diagnostics followed by planning diagnostics.
Sourcepub fn is_valid(&self) -> bool
pub fn is_valid(&self) -> bool
Reports whether traversal and explicit directory resolution emitted no errors.
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Reports whether every retained occurrence has an effective directory and no errors.
Trait Implementations§
Source§impl Clone for IncludeProjectDirectoryPlan
impl Clone for IncludeProjectDirectoryPlan
Source§fn clone(&self) -> IncludeProjectDirectoryPlan
fn clone(&self) -> IncludeProjectDirectoryPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IncludeProjectDirectoryPlan
impl Debug for IncludeProjectDirectoryPlan
impl Eq for IncludeProjectDirectoryPlan
impl StructuralPartialEq for IncludeProjectDirectoryPlan
Auto Trait Implementations§
impl Freeze for IncludeProjectDirectoryPlan
impl RefUnwindSafe for IncludeProjectDirectoryPlan
impl Send for IncludeProjectDirectoryPlan
impl Sync for IncludeProjectDirectoryPlan
impl Unpin for IncludeProjectDirectoryPlan
impl UnsafeUnpin for IncludeProjectDirectoryPlan
impl UnwindSafe for IncludeProjectDirectoryPlan
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