Module elements

Source
Expand description

Various tokenisable elements

Modules§

generic_impl
impl SomeTrait for SomeType.
module_prefix
A const-table module prefix, e.g. ::your_crate::__private.

Structs§

Attributed
Something that has Attributes. Use when you case about processing that has attributes such as doc comments, but aren’t picky about what they’re attached to.
GenericImpl
impl<T> SomeTrait for SomeType<T> or impl<T> SomeType<T>.
ModulePrefix
A const-table module prefix, e.g. ::your_crate::__private.

Type Aliases§

AttributedInner
Attributed alias that uses Attribute::parse_inner for parsing.