Enum rustc::middle::def::MethodProvenance[src]
pub enum MethodProvenance {
FromTrait(DefId),
FromImpl(DefId),
}Variants
FromTrait | |
FromImpl |
pub enum MethodProvenance {
FromTrait(DefId),
FromImpl(DefId),
}FromTrait | |
FromImpl |
impl<__S: Writer> Hash<__S> for MethodProvenancefn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for MethodProvenancefn decode(__arg_0: &mut __D) -> Result<MethodProvenance, __E>impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for MethodProvenanceimpl Eq for MethodProvenancefn assert_receiver_is_total_eq(&self)impl PartialEq for MethodProvenancefn eq(&self, __arg_0: &MethodProvenance) -> boolfn ne(&self, __arg_0: &MethodProvenance) -> boolimpl Clone for MethodProvenancefn clone(&self) -> MethodProvenancefn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).