servo/components/shared/compositing
Martin Robinson 294a649a6c
Use strum to iterate through enum variants and get their names (#35933)
`strum` allows us to avoid manually listing enum variant names and also
to get their names as static strings. We cannot use this for all cases
due to https://github.com/Peternator7/strum/issues/152, but we can
still use it to remove a lot of code.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-03-13 12:00:31 +00:00
..
Cargo.toml Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
constellation_msg.rs Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
lib.rs Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00