pub struct TraitInferenceErrors {
pub traits_and_errors: Vec<(TraitFunctionId, InferenceError)>,
}
Expand description
A list of trait functions and the inference errors that occurred while trying to infer them.
Fields§
§traits_and_errors: Vec<(TraitFunctionId, InferenceError)>
Trait Implementations§
source§impl Clone for TraitInferenceErrors
impl Clone for TraitInferenceErrors
source§fn clone(&self) -> TraitInferenceErrors
fn clone(&self) -> TraitInferenceErrors
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 TraitInferenceErrors
impl Debug for TraitInferenceErrors
source§impl Hash for TraitInferenceErrors
impl Hash for TraitInferenceErrors
source§impl PartialEq for TraitInferenceErrors
impl PartialEq for TraitInferenceErrors
source§fn eq(&self, other: &TraitInferenceErrors) -> bool
fn eq(&self, other: &TraitInferenceErrors) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TraitInferenceErrors
impl StructuralPartialEq for TraitInferenceErrors
Auto Trait Implementations§
impl RefUnwindSafe for TraitInferenceErrors
impl Send for TraitInferenceErrors
impl Sync for TraitInferenceErrors
impl Unpin for TraitInferenceErrors
impl UnwindSafe for TraitInferenceErrors
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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.