Re-exportsΒ§
use std::borrow::Cow;πuse std::cmp::Ordering;πuse std::fmt;πuse std::fmt::Display;πuse std::fmt::Write as _;πuse std::iter;πuse askama::Template;πuse askama::Template;πuse rustc_abi::VariantIdx;πuse rustc_ast::join_path_syms;πuse rustc_attr_ir::NotableTraitColor;πuse rustc_data_structures::fx::FxHashMap;πuse rustc_data_structures::fx::FxIndexMap;πuse rustc_data_structures::fx::FxIndexSet;πuse rustc_hir as hir;πuse rustc_hir::def::CtorKind;πuse rustc_hir::def::MacroKinds;πuse rustc_hir::def_id::DefId;πuse rustc_index::IndexVec;πuse rustc_middle::ty;πuse rustc_middle::ty::TyCtxt;πuse rustc_span::hygiene::MacroKind;πuse rustc_span::symbol::Symbol;πuse rustc_span::symbol::sym;πuse tracing::debug;πuse tracing::info;πuse super::type_layout::document_type_layout;πuse super::AssocItemLink;πuse super::AssocItemRender;πuse super::Context;πuse super::ImplRenderingParameters;πuse super::RenderMode;πuse super::collect_paths_for_type;πuse super::document;πuse super::ensure_trailing_slash;πuse super::get_filtered_impls_for_reference;πuse super::item_ty_to_section;πuse super::notable_traits_json;πuse super::render_all_impls;πuse super::render_assoc_item;πuse super::render_assoc_items;πuse super::render_attributes_in_code;πuse super::render_impl;πuse super::render_repr_attribute_in_code;πuse super::render_rightside;πuse super::render_stability_since_raw;πuse super::render_stability_since_raw_with_extra;πuse super::write_section_heading;πuse crate::clean;πuse crate::clean::ItemKind;πuse crate::config::ModuleSorting;πuse crate::display::Joined as _;πuse crate::display::MaybeDisplay as _;πuse crate::formats::Impl;πuse crate::formats::item_type::ItemType;πuse crate::html::escape::Escape;πuse crate::html::escape::EscapeBodyTextWithWbr;πuse crate::html::format::Ending;πuse crate::html::format::PrintWithSpace;πuse crate::html::format::full_print_fn_decl;πuse crate::html::format::print_abi_with_space;πuse crate::html::format::print_constness_with_space;πuse crate::html::format::print_generic_bound;πuse crate::html::format::print_generics;πuse crate::html::format::print_impl;πuse crate::html::format::print_import;πuse crate::html::format::print_path;πuse crate::html::format::print_type;πuse crate::html::format::print_where_clause;πuse crate::html::format::visibility_print_with_space;πuse crate::html::markdown::HeadingOffset;πuse crate::html::markdown::MarkdownSummaryLine;πuse crate::html::render::sidebar::filters;πuse crate::html::render::document_full;πuse crate::html::render::document_item_info;πuse crate::html::render::notable_trait_badges;πuse crate::html::url_parts_builder::UrlPartsBuilder;π
StructsΒ§
- Display
Enum π - Display
Struct π - Impl
String π - Item
Union π - Item
Vars π - Negative
Marker π - Struct used to handle insertion of βnegative implβ marker in the generated DOM.
- Notable
Trait πBadge Vars - Path
Component π
ConstantsΒ§
- ITEM_
TABLE_ πCLOSE - ITEM_
TABLE_ πOPEN - REEXPORTS_
TABLE_ πOPEN
FunctionsΒ§
- compare_
names π - Compare two strings treating multi-digit numbers as single units (i.e. natural sort order).
- display_
c_ πlike_ variant - document_
non_ πexhaustive - document_
non_ πexhaustive_ header - full_
path π - item_
constant π - item_
enum π - item_
fields π - item_
foreign_ πtype - item_
function π - item_
keyword_ πor_ attribute - item_
macro π - item_
module π - item_
primitive π - item_
proc_ πmacro - item_
static π - item_
struct π - item_
trait π - item_
trait_ πalias - item_
type_ πalias - item_
union π - item_
variants π - pluralize π
- print_
bounds π - print_
extra_ πinfo_ tags - Render the stability, deprecation and portability tags that are displayed in the itemβs summary at the module level.
- print_
item π - print_
item_ πpath - print_
tuple_ πstruct_ fields - print_
ty_ πpath - render_
enum_ πfields - render_
implementor π - render_
struct π - render_
struct_ πfields - render_
union π - should_
hide_ πfields - For large structs, enums, unions, etc, determine whether to hide their fields
- should_
show_ πenum_ discriminant - Itβll return false if any variant is not a C-like variant. Otherwise itβll return true if at
least one of them has an explicit discriminant or if the enum has
#[repr(C)]or an integerrepr. - toggle_
close π - toggle_
open π - wrap_
item π