Macros§
- item_
template 🔒 - Generates a Rinja template struct for rendering items with common methods.
- item_
template_ 🔒methods - Implement common methods for item template structs generated by
item_template!()
.
Structs§
- Impl
String 🔒 - Item
Vars 🔒 - Path
Component 🔒
Constants§
Traits§
Functions§
- bounds 🔒
- 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 - 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 🔒 - print_
tuple_ 🔒struct_ fields - print_
where_ 🔒clause_ and_ check - 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
- 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 🔒