Functionsยง
- expand_
deriving_ ๐partial_ eq - Expands a
#[derive(PartialEq)]attribute into an implementation for the target item. - get_
substructure_ ๐equality_ expr - Generates the equality expression for a struct or enum variant when deriving
PartialEq. - peel_
refs ๐ - Removes all leading immutable references from an expression.
- wrap_
block_ ๐expr - Wraps a block expression in parentheses to ensure valid AST in macro expansion output.