StructsΒ§
- Field π
- A utility object that represents a structβs field.
- Struct π
- A utility struct that is used for the enclosing struct.
EnumsΒ§
- Delegee π
- A field that we want to delegate can offer the enclosing struct trait to implement in two ways. The first way is when the field actually implements the trait and the second way is when the field has a bound type parameter. We handle these cases in different ways hence the enum.
FunctionsΒ§
- const_
assoc_ πitem - filter_
generic_ πparams - Filters generic params, keeping only those whose names are not in
names_to_remove. - finalize_
delegate π - Finalize the delegate impl by:
- func_
assoc_ πitem - generate_
args_ πfor_ impl - generate_
delegate_ πtrait - generate_
impl π - generic_
param_ πname - Extracts the name from a generic parameter.
- has_
self_ πtype - process_
assoc_ πitem - remove_
instantiated_ πparams - remove_
useless_ πwhere_ clauses - rename_
strukt_ πargs - resolve_
name_ πconflicts - transform_
impl π - ty_
assoc_ πitem