Skip to main contentModule policy
Source - UnsupportedOptionPolicy
- Controls how unsupported styling options are reported during rendering.
- enforce_strict
- Call after all traces/layout are converted in Strict mode.
Panics if any unsupported options were collected.
- report_unsupported
- Report an unsupported option. Appends to
collector for Strict mode
batch reporting. Deduplicates within the collector. - set_unsupported_option_policy
- Set the global unsupported option policy. First call wins; subsequent
calls are ignored. If never called, the default is
Warn. - unsupported_option_policy
- Get the current policy. Returns
Warn if never explicitly set.