Struct rustc::middle::ty::ClosureUpvarUnstable
[-] [+]
[src]
pub struct ClosureUpvar<'tcx> { pub def: Def, pub span: Span, pub ty: Ty<'tcx>, }
Fields
def | |
span | |
ty |
pub struct ClosureUpvar<'tcx> { pub def: Def, pub span: Span, pub ty: Ty<'tcx>, }
def | |
span | |
ty |
impl<'tcx> HasProjectionTypes for ClosureUpvar<'tcx>
fn has_projection_types(&self) -> bool
impl<'tcx> Repr<'tcx> for ClosureUpvar<'tcx>
impl<'tcx> TypeFoldable<'tcx> for ClosureUpvar<'tcx>
fn fold_with<F: TypeFolder<'tcx>>(&self, folder: &mut F) -> ClosureUpvar<'tcx>
impl<'tcx> Clone for ClosureUpvar<'tcx>
fn clone(&self) -> ClosureUpvar<'tcx>
fn clone_from(&mut self, source: &Self)
impl<'tcx> Copy for ClosureUpvar<'tcx>
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
).