3 // @matches 'foo/index.html' '//h1' 'Crate foo'
5 // @matches 'foo/foo_mod/index.html' '//h1' 'Module foo::foo_mod'
11 // @matches 'foo/fn.foo_ffn.html' '//h1' 'Function foo::foo_ffn'
15 // @matches 'foo/fn.foo_fn.html' '//h1' 'Function foo::foo_fn'
18 // @matches 'foo/trait.FooTrait.html' '//h1' 'Trait foo::FooTrait'
21 // @matches 'foo/struct.FooStruct.html' '//h1' 'Struct foo::FooStruct'
24 // @matches 'foo/enum.FooEnum.html' '//h1' 'Enum foo::FooEnum'
27 // @matches 'foo/type.FooType.html' '//h1' 'Type Definition foo::FooType'
28 pub type FooType = FooStruct;
30 // @matches 'foo/macro.foo_macro.html' '//h1' 'Macro foo::foo_macro'
32 macro_rules! foo_macro {
36 // @matches 'foo/primitive.bool.html' '//h1' 'Primitive Type bool'
37 #[doc(primitive = "bool")]
40 // @matches 'foo/static.FOO_STATIC.html' '//h1' 'Static foo::FOO_STATIC'
41 pub static FOO_STATIC: FooStruct = FooStruct;
44 // @matches 'foo/static.FOO_FSTATIC.html' '//h1' 'Static foo::FOO_FSTATIC'
45 pub static FOO_FSTATIC: FooStruct;
48 // @matches 'foo/constant.FOO_CONSTANT.html' '//h1' 'Constant foo::FOO_CONSTANT'
49 pub const FOO_CONSTANT: FooStruct = FooStruct;