servo/components/shared
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
..
background_hang_monitor script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
base base: Finish rename of TopLevelBrowsingContextId to WebViewId (#35896) 2025-03-11 10:56:10 +00:00
bluetooth Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
canvas canvas: Do not update ImageKey during canvas layout (#35719) 2025-03-12 15:36:52 +00:00
compositing Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
devtools Show correctly computed element display type in devtools (#35870) 2025-03-10 12:32:30 +00:00
embedder Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
fonts Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
net Implement nonce attribute to pass more CSP checks (#35876) 2025-03-10 09:25:34 +00:00
profile Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
script Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
script_layout canvas: Do not update ImageKey during canvas layout (#35719) 2025-03-12 15:36:52 +00:00
webrender compositor: Make PipelineDetails and pending paint metrics per-WebView (#35701) 2025-03-04 02:31:23 +00:00
webxr Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00