pub struct IncludeProjectDirectoryEntry { /* private fields */ }Expand description
One deterministic occurrence entry in an IncludeProjectDirectoryPlan.
Implementations§
Source§impl IncludeProjectDirectoryEntry
impl IncludeProjectDirectoryEntry
Sourcepub const fn node_index(&self) -> usize
pub const fn node_index(&self) -> usize
Returns the retained include occurrence index represented by this entry.
Sourcepub const fn identity(&self) -> &IncludeIdentity
pub const fn identity(&self) -> &IncludeIdentity
Returns the caller-defined identity of this retained occurrence.
Sourcepub const fn status(&self) -> IncludeProjectDirectoryStatus
pub const fn status(&self) -> IncludeProjectDirectoryStatus
Returns how this occurrence received its planned directory.
Sourcepub fn effective_directory(&self) -> Option<&Path>
pub fn effective_directory(&self) -> Option<&Path>
Returns the caller-authorized effective directory, when one is available.
Sourcepub const fn edge_index(&self) -> Option<usize>
pub const fn edge_index(&self) -> Option<usize>
Returns the edge through which this child occurred; root has no incoming edge.
Sourcepub const fn request_index(&self) -> Option<usize>
pub const fn request_index(&self) -> Option<usize>
Returns the originating include request index; root has no incoming request.
Sourcepub const fn declaration(&self) -> Option<&Located<String>>
pub const fn declaration(&self) -> Option<&Located<String>>
Returns the raw explicit declaration and its provenance, when one was authored.
Trait Implementations§
Source§impl Clone for IncludeProjectDirectoryEntry
impl Clone for IncludeProjectDirectoryEntry
Source§fn clone(&self) -> IncludeProjectDirectoryEntry
fn clone(&self) -> IncludeProjectDirectoryEntry
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 IncludeProjectDirectoryEntry
impl Debug for IncludeProjectDirectoryEntry
impl Eq for IncludeProjectDirectoryEntry
impl StructuralPartialEq for IncludeProjectDirectoryEntry
Auto Trait Implementations§
impl Freeze for IncludeProjectDirectoryEntry
impl RefUnwindSafe for IncludeProjectDirectoryEntry
impl Send for IncludeProjectDirectoryEntry
impl Sync for IncludeProjectDirectoryEntry
impl Unpin for IncludeProjectDirectoryEntry
impl UnsafeUnpin for IncludeProjectDirectoryEntry
impl UnwindSafe for IncludeProjectDirectoryEntry
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