Skip to main content

adapter_display_preference

Function adapter_display_preference 

Source
pub fn adapter_display_preference(
    driver: &str,
    params: &HashMap<String, String>,
) -> DisplayPreference
Expand description

Look up the display preference for a driver name without constructing the adapter.

Returns Auto if the driver is not registered (unknown adapters are assumed TUI-compatible; construction will fail later with a clear error).