pub enum PackageFilterElementValue {
Toolchain(String),
Name(Vec<String>),
}Variants§
Toolchain(String)
Requires toolchain to be specified to the specified toolchain.
Parsed name: "toolchain".
Name(Vec<String>)
Matches package with name matching this glob.
Parsed name: "name". Glob parsed with str::split('*').
Trait Implementations§
Source§impl Clone for PackageFilterElementValue
impl Clone for PackageFilterElementValue
Source§fn clone(&self) -> PackageFilterElementValue
fn clone(&self) -> PackageFilterElementValue
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 PackageFilterElementValue
impl Debug for PackageFilterElementValue
impl Eq for PackageFilterElementValue
Source§impl Hash for PackageFilterElementValue
impl Hash for PackageFilterElementValue
Source§impl Ord for PackageFilterElementValue
impl Ord for PackageFilterElementValue
Source§fn cmp(&self, other: &PackageFilterElementValue) -> Ordering
fn cmp(&self, other: &PackageFilterElementValue) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PackageFilterElementValue
impl PartialEq for PackageFilterElementValue
Source§fn eq(&self, other: &PackageFilterElementValue) -> bool
fn eq(&self, other: &PackageFilterElementValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PackageFilterElementValue
impl PartialOrd for PackageFilterElementValue
impl StructuralPartialEq for PackageFilterElementValue
Auto Trait Implementations§
impl Freeze for PackageFilterElementValue
impl RefUnwindSafe for PackageFilterElementValue
impl Send for PackageFilterElementValue
impl Sync for PackageFilterElementValue
impl Unpin for PackageFilterElementValue
impl UnsafeUnpin for PackageFilterElementValue
impl UnwindSafe for PackageFilterElementValue
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.