Enum rustc::middle::typeck::MethodOrigin[src]
pub enum MethodOrigin {
MethodStatic(DefId),
MethodParam(MethodParam),
MethodObject(MethodObject),
}Variants
MethodStatic | |
MethodParam | |
MethodObject |
pub enum MethodOrigin {
MethodStatic(DefId),
MethodParam(MethodParam),
MethodObject(MethodObject),
}MethodStatic | |
MethodParam | |
MethodObject |
impl tr for MethodOriginfn tr(&self, xcx: &ExtendedDecodeContext) -> MethodOriginimpl Repr for MethodOriginimpl<__D: Decoder<__E>, __E> Decodable<__D, __E> for MethodOriginfn decode(__arg_0: &mut __D) -> Result<MethodOrigin, __E>impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for MethodOriginimpl Clone for MethodOriginfn clone(&self) -> MethodOriginfn 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).