pub enum FitPath {
GenericRecognition,
KnownTypeFit,
HintReused,
ExactCandidateReused,
ConstrainedRefinement,
UnconstrainedRefinement,
HintRejectedFallback,
}Expand description
The recognition or refinement route that produced a fit.
Variants§
GenericRecognition
The primitive family and parameters were recognized without metadata.
KnownTypeFit
Parameters were fitted for a metadata-specified primitive family.
HintReused
Supplied hint parameters were accepted without refinement.
ExactCandidateReused
A supplied exact candidate was accepted without refinement.
ConstrainedRefinement
Refinement honored one or more fixed parameter groups.
UnconstrainedRefinement
Supplied parameters initialized unconstrained refinement.
HintRejectedFallback
A rejected hint was followed by generic recognition.
Trait Implementations§
impl Copy for FitPath
Source§impl<'de> Deserialize<'de> for FitPath
impl<'de> Deserialize<'de> for FitPath
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FitPath, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FitPath, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FitPath
Source§impl Serialize for FitPath
impl Serialize for FitPath
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FitPath
Auto Trait Implementations§
impl Freeze for FitPath
impl RefUnwindSafe for FitPath
impl Send for FitPath
impl Sync for FitPath
impl Unpin for FitPath
impl UnsafeUnpin for FitPath
impl UnwindSafe for FitPath
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.