pub enum IncRootKind {
FileLocalLexical,
WorkspaceRelative,
ExternalAbsolute,
Perl5LibEnv,
InterpreterStartup,
RuntimeDerived,
}Expand description
Source/category of an effective include root.
Variants§
FileLocalLexical
File-local lexical include roots (for example use lib overlays).
WorkspaceRelative
Workspace-relative include roots, resolved against each owning workspace.
ExternalAbsolute
External absolute include roots.
Perl5LibEnv
Paths sourced from the PERL5LIB environment variable.
Treated like ExternalAbsolute for resolution (no workspace-boundary
validation) but carries a distinct source label so diagnostics and
tooling can tell environment-supplied roots apart from project-configured ones.
InterpreterStartup
Startup @INC entries from the selected Perl interpreter.
RuntimeDerived
Runtime-derived include roots (reserved for future trusted runtime mode).
Trait Implementations§
Source§impl Clone for IncRootKind
impl Clone for IncRootKind
Source§fn clone(&self) -> IncRootKind
fn clone(&self) -> IncRootKind
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 moreimpl Copy for IncRootKind
Source§impl Debug for IncRootKind
impl Debug for IncRootKind
impl Eq for IncRootKind
Source§impl PartialEq for IncRootKind
impl PartialEq for IncRootKind
Source§fn eq(&self, other: &IncRootKind) -> bool
fn eq(&self, other: &IncRootKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IncRootKind
Auto Trait Implementations§
impl Freeze for IncRootKind
impl RefUnwindSafe for IncRootKind
impl Send for IncRootKind
impl Sync for IncRootKind
impl Unpin for IncRootKind
impl UnsafeUnpin for IncRootKind
impl UnwindSafe for IncRootKind
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