pub enum NameMatch {
Any,
Exact(String),
Pattern(NamePattern),
}Expand description
Which property-set or property names an enumeration selects.
Variants§
Any
Every name.
Exact(String)
One exact name, compared as the source spells it.
Pattern(NamePattern)
Every name the pattern matches as a whole.
Implementations§
Trait Implementations§
impl Eq for NameMatch
Source§impl Ord for NameMatch
impl Ord for NameMatch
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for NameMatch
impl PartialOrd for NameMatch
impl StructuralPartialEq for NameMatch
Auto Trait Implementations§
impl Freeze for NameMatch
impl RefUnwindSafe for NameMatch
impl Send for NameMatch
impl Sync for NameMatch
impl Unpin for NameMatch
impl UnsafeUnpin for NameMatch
impl UnwindSafe for NameMatch
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