Module rustdoc::html::render::print_item
source · Macros§
- item_
template πGenerates a Rinja template struct for rendering items with common methods. - Implement common methods for item template structs generated by
item_template!()
.
Structs§
- Impl
String π - Item
Vars π - Path
Component π
Constants§
- ITEM_
TABL πE_ CLOSE - ITEM_
TABL πE_ OPEN - ITEM_
TABL πE_ ROW_ CLOSE - ITEM_
TABL πE_ ROW_ OPEN
Traits§
- Item
Template π
Functions§
- bounds π
- compare_
names πCompare two strings treating multi-digit numbers as single units (i.e. natural sort order). - extra_
info_ πtags Render the stability, deprecation and portability tags that are displayed in the itemβs summary at the module level. - full_
path π - item_
constant π - item_
enum π - item_
fields π - item_
foreign_ πtype - item_
function π - item_
keyword π - item_
macro π - item_
module π - item_
path π - item_
primitive π - item_
proc_ πmacro - item_
static π - item_
struct π - item_
trait π - item_
trait_ πalias - item_
type_ πalias - item_
union π - item_
variants π - pluralize π
- print_
item π - Calls
print_where_clause
and returnstrue
if awhere
clause was generated. - 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 - 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 π