enum HowMatched {
Instance,
Class,
Wildcard,
}
Expand description
Info how a specific component was matched.
This information is used to decide which of two matches is “better” in compare_matches()
.
Variants§
Instance
The component matched the instance of the query
Class
The component matched the class of the query
Wildcard
The component is a wildcard and thus matched by default
Trait Implementations§
source§impl Clone for HowMatched
impl Clone for HowMatched
source§fn clone(&self) -> HowMatched
fn clone(&self) -> HowMatched
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 HowMatched
impl Debug for HowMatched
impl Copy for HowMatched
Auto Trait Implementations§
impl Freeze for HowMatched
impl RefUnwindSafe for HowMatched
impl Send for HowMatched
impl Sync for HowMatched
impl Unpin for HowMatched
impl UnwindSafe for HowMatched
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)