Expand description
A set of traits implemented for various AST nodes, typically those used in AST fragments during macro expansion. The traits are not implemented exhaustively, only when actually necessary.
Macrosยง
- impl_
has_ ๐attrs - impl_
has_ ๐attrs_ none - impl_
has_ ๐node_ id - impl_
has_ ๐tokens - impl_
has_ ๐tokens_ none - impl_
not_ ๐ast_ deref
Structsยง
- AstNode
Wrapper - A newtype around an AST node that implements the traits above if the node implements them.