@@ -490,19 +490,33 @@ function preLoadCss(cssUrl) {
490
490
}
491
491
492
492
if ( sidebar ) {
493
+ // keep this synchronized with ItemSection::ALL in html/render/mod.rs
494
+ // Re-exports aren't shown here, because they don't have child pages
495
+ //block("reexport", "reexports", "Re-exports");
493
496
block ( "primitive" , "primitives" , "Primitive Types" ) ;
494
497
block ( "mod" , "modules" , "Modules" ) ;
495
498
block ( "macro" , "macros" , "Macros" ) ;
496
499
block ( "struct" , "structs" , "Structs" ) ;
497
500
block ( "enum" , "enums" , "Enums" ) ;
498
- block ( "union" , "unions" , "Unions" ) ;
499
501
block ( "constant" , "constants" , "Constants" ) ;
500
502
block ( "static" , "static" , "Statics" ) ;
501
503
block ( "trait" , "traits" , "Traits" ) ;
502
504
block ( "fn" , "functions" , "Functions" ) ;
503
505
block ( "type" , "types" , "Type Aliases" ) ;
506
+ block ( "union" , "unions" , "Unions" ) ;
507
+ // No point, because these items don't appear in modules
508
+ //block("impl", "impls", "Implementations");
509
+ //block("tymethod", "tymethods", "Type Methods");
510
+ //block("method", "methods", "Methods");
511
+ //block("structfield", "fields", "Fields");
512
+ //block("variant", "variants", "Variants");
513
+ //block("associatedtype", "associated-types", "Associated Types");
514
+ //block("associatedconstant", "associated-consts", "Associated Constants");
504
515
block ( "foreigntype" , "foreign-types" , "Foreign Types" ) ;
505
516
block ( "keyword" , "keywords" , "Keywords" ) ;
517
+ block ( "opaque" , "opaque-types" , "Opaque Types" ) ;
518
+ block ( "attr" , "attributes" , "Attribute Macros" ) ;
519
+ block ( "derive" , "derives" , "Derive Macros" ) ;
506
520
block ( "traitalias" , "trait-aliases" , "Trait Aliases" ) ;
507
521
}
508
522
}
0 commit comments