servo_config_macro

Function servo_preferences_derive

Source
pub(crate) fn servo_preferences_derive(input: Structure<'_>) -> TokenStream
Expand description

A derive macro that adds string-based getter and setter for each field of this struct (enums and other types are not supported). Each field must be able to be convertable (with into()) into a PrefValue.