pub struct IncludeProjectDirectoryRequest<'a> { /* private fields */ }Expand description
Context supplied to a caller-owned explicit project-directory resolver.
Implementations§
Source§impl IncludeProjectDirectoryRequest<'_>
impl IncludeProjectDirectoryRequest<'_>
Sourcepub const fn edge_index(&self) -> usize
pub const fn edge_index(&self) -> usize
Returns the index of the include edge that authorized this planning request.
Sourcepub const fn request_index(&self) -> usize
pub const fn request_index(&self) -> usize
Returns the index of the original include declaration request.
Sourcepub const fn parent_node_index(&self) -> usize
pub const fn parent_node_index(&self) -> usize
Returns the occurrence index that declared this include.
Sourcepub const fn child_node_index(&self) -> usize
pub const fn child_node_index(&self) -> usize
Returns the occurrence index of the included project.
Sourcepub const fn parent_identity(&self) -> &IncludeIdentity
pub const fn parent_identity(&self) -> &IncludeIdentity
Returns the caller-defined identity of the including occurrence.
Sourcepub const fn child_identity(&self) -> &IncludeIdentity
pub const fn child_identity(&self) -> &IncludeIdentity
Returns the caller-defined identity of the included occurrence.
Sourcepub const fn parent_effective_directory(&self) -> Option<&Path>
pub const fn parent_effective_directory(&self) -> Option<&Path>
Returns the recursively effective parent directory, when planning has one.
Sourcepub const fn declaration(&self) -> &Located<String>
pub const fn declaration(&self) -> &Located<String>
Returns the raw, un-interpolated explicit declaration and its source span.
Sourcepub const fn declaration_span(&self) -> SourceSpan
pub const fn declaration_span(&self) -> SourceSpan
Returns the explicit declaration source span.
Sourcepub const fn child_first_document_directory(&self) -> Option<&Path>
pub const fn child_first_document_directory(&self) -> Option<&Path>
Returns the child first-document directory retained by traversal, when available.
Auto Trait Implementations§
impl<'a> Freeze for IncludeProjectDirectoryRequest<'a>
impl<'a> RefUnwindSafe for IncludeProjectDirectoryRequest<'a>
impl<'a> Send for IncludeProjectDirectoryRequest<'a>
impl<'a> Sync for IncludeProjectDirectoryRequest<'a>
impl<'a> Unpin for IncludeProjectDirectoryRequest<'a>
impl<'a> UnsafeUnpin for IncludeProjectDirectoryRequest<'a>
impl<'a> UnwindSafe for IncludeProjectDirectoryRequest<'a>
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