pub struct EncodeContext<'a, 'tcx> where 'tcx: 'a {
pub diag: &'a SpanHandler,
pub tcx: &'a ctxt<'tcx>,
pub reexports: &'a HashMap<u32, Vec<Export>, DefaultState<FnvHasher>>,
pub item_symbols: &'a RefCell<HashMap<u32, String, DefaultState<FnvHasher>>>,
pub link_meta: &'a LinkMeta,
pub cstore: &'a CStore,
pub encode_inlined_item: RefCell<Box<FnMut(&EncodeContext, &mut Encoder, InlinedItemRef) + 'a>>,
pub type_abbrevs: RefCell<HashMap<&'tcx TyS<'tcx>, ty_abbrev, DefaultState<FnvHasher>>>,
pub reachable: &'a HashSet<u32, DefaultState<FnvHasher>>,
}
Fields
diag | |
tcx | |
reexports | |
item_symbols | |
link_meta | |
cstore | |
encode_inlined_item | |
type_abbrevs | |
reachable | |
Trait Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
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
).