Skip to content

State & Event enums with associated values complete example #69

@dekhaus

Description

@dekhaus

Hi

I'm having some trouble understanding the 'State & Event enums with associated values' example on the main project page. I'm specifically confused by incomplete enum definitions ...

enum StrState: StateType {
case str(String) ...
}
enum StrEvent: EventType {
case str(String) ...
}

Can someone please respond to this question with a complete example or update the project README ?

Thanks
Dave

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions