#[non_exhaustive]pub enum IncRootKind {
UseLib,
Configured,
Perl5Lib,
SystemInc,
}Expand description
Include-root source.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UseLib
Root came from use lib / no lib.
Configured
Root came from configured include paths.
Perl5Lib
Root came from PERL5LIB.
SystemInc
Root came from system @INC.
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 moreSource§impl Debug for IncRootKind
impl Debug for IncRootKind
Source§impl Hash for IncRootKind
impl Hash 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 Copy for IncRootKind
impl Eq for IncRootKind
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