servo/components/shared/script
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
..
tests layout: Implement overflow scroll support for different axes (#35414) 2025-02-14 08:14:57 +00:00
Cargo.toml 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
script_msg.rs Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
serializable.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
transferable.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00