Enum

class pywayland.scanner.enum.Enum(name: str, since: Optional[str], is_bitfield: bool, description: Optional[pywayland.scanner.description.Description], entry: List[pywayland.scanner.entry.Entry])

Scanner for enum objects

Required attributes: name and since

Child elements: description and entry

output(printer: pywayland.scanner.printer.Printer) → None

Generate the output for the enum to the printer