Expand description
This module contains functions to generate default trait impl function bodies where possible.
Functionsยง
- gen_
clone_ ๐impl - Generate a
Cloneimpl based on the fields and members of the target type. - gen_
debug_ ๐impl - Generate a
Debugimpl based on the fields and members of the target type. - gen_
default_ ๐impl - Generate a
Defaultimpl based on the fields and members of the target type. - gen_
hash_ ๐impl - Generate a
Hashimpl based on the fields and members of the target type. - gen_
partial_ ๐eq - Generate a
PartialEqimpl based on the fields and members of the target type. - gen_
partial_ ๐ord - gen_
trait_ ๐fn_ body - Generate custom trait bodies without default implementation where possible.
- make_
discriminant ๐