[−][src]Module photonix::focus
Type classes for getters and setters.
Modules
composites |
Traits
Get | Returns the target field of a container (struct) by value, consumes the container (unless it implements |
GetOption | Returns the target field of a container (enum) by value as an |
GetRef | Returns the target field of a container (struct) by reference, keeps the container. |
Modify | Updates the field of a container (struct/enum) by applying the provided function on the target value. Consumes the original container (unless it implements |
ModifyOption | Updates the field of a container (enum) by applying the provided function on the target value. Consumes the original container (unless it implements |
ReverseGet | Constructs the relevant enum variant based on the input. |
Set | Updates the field of a container (struct/enum) with the provided value. Consumes the original container (unless it implements |
SetOption | Updates the field of a container (enum) with the provided value. Consumes the original container (unless it implements |