Struct rustc_lint::middle::ty::ParamTyUnstable
[-] [+]
[src]
pub struct ParamTy { pub space: ParamSpace, pub idx: u32, pub name: Name, }
Fields
space | |
idx | |
name |
pub struct ParamTy { pub space: ParamSpace, pub idx: u32, pub name: Name, }
space | |
idx | |
name |
impl ParamTy
fn new(space: ParamSpace, index: u32, name: Name) -> ParamTy
fn for_self() -> ParamTy
fn for_def(def: &TypeParameterDef) -> ParamTy
fn to_ty(self, tcx: &ctxt<'tcx>) -> &'tcx TyS<'tcx>
fn is_self(&self) -> bool
impl<'tcx> UserString<'tcx> for ParamTy
fn user_string(&self, _tcx: &ctxt) -> String
impl<'tcx> Repr<'tcx> for ParamTy
impl Debug for ParamTy
impl Hash for ParamTy
impl Eq for ParamTy
impl PartialEq<ParamTy> for ParamTy
impl Copy for ParamTy
impl Clone for ParamTy
fn clone(&self) -> ParamTy
fn 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
, enum
,
trait
, typedef
(or
tdef
).