Enum spack::utils::prefix::SearchBehavior
source · pub enum SearchBehavior {
ErrorOnDuplicateLibraryName,
SelectFirstForEachLibraryName,
}Variants§
Trait Implementations§
source§impl Clone for SearchBehavior
impl Clone for SearchBehavior
source§fn clone(&self) -> SearchBehavior
fn clone(&self) -> SearchBehavior
Returns a copy of the value. Read more
1.0.0 · 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 SearchBehavior
impl Debug for SearchBehavior
source§impl Default for SearchBehavior
impl Default for SearchBehavior
source§fn default() -> SearchBehavior
fn default() -> SearchBehavior
Returns the “default value” for a type. Read more
source§impl Hash for SearchBehavior
impl Hash for SearchBehavior
source§impl PartialEq for SearchBehavior
impl PartialEq for SearchBehavior
source§fn eq(&self, other: &SearchBehavior) -> bool
fn eq(&self, other: &SearchBehavior) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SearchBehavior
impl Eq for SearchBehavior
impl StructuralEq for SearchBehavior
impl StructuralPartialEq for SearchBehavior
Auto Trait Implementations§
impl RefUnwindSafe for SearchBehavior
impl Send for SearchBehavior
impl Sync for SearchBehavior
impl Unpin for SearchBehavior
impl UnwindSafe for SearchBehavior
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.