pub enum Feature {
QueryHostRoot,
NonfatalDie,
GlobalFailglob,
UnpackExtendedPath,
UnpackCaseInsensitive,
QueryDeps,
TrailingSlash,
ConsistentFileOpts,
DosymRelative,
SrcUriUnrestrict,
UsevTwoArgs,
RepoIds,
}
Expand description
Features that relate to differentiation between EAPIs as specified by PMS.
Variants§
QueryHostRoot
best_version
and has_version
support –host-root
NonfatalDie
die -n
supports nonfatal usage
GlobalFailglob
failglob shell option is enabled in global scope
UnpackExtendedPath
unpack
supports absolute and relative paths
UnpackCaseInsensitive
unpack
performs case-insensitive file extension matching
QueryDeps
best_version
and has_version
support -b/-d/-r options
TrailingSlash
path variables ROOT, EROOT, D, and ED end with a trailing slash
ConsistentFileOpts
improve insopts/exeopts consistency for install functions
DosymRelative
relative path support via dosym -r
SrcUriUnrestrict
SRC_URI supports fetch+ and mirror+ prefixes
UsevTwoArgs
usev supports an optional second arg
RepoIds
repo deps – cat/pkg::repo
Trait Implementations§
source§impl PartialEq for Feature
impl PartialEq for Feature
impl Copy for Feature
impl Eq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.