Skip to main content

Module traits

Module traits 

Source
Expand description

Various traits that are implemented by ast nodes.

The implementations are usually trivial, and live in generated.rs

Structs§

AttrsIter

Traits§

HasArgList
HasAttrs
HasGenericArgs
HasGenericParams
HasLoopBody
HasModuleItem
HasName
HasTypeBounds
HasVisibility

Functions§

attrs_including_inner
attrs_with_doc_including_inner
Returns all attributes of this node, including inner attributes that may not be directly under this node but under a child.