Skip to main content

parse_backends

Function parse_backends 

Source
pub fn parse_backends(spec: &str) -> Option<Backends>
Expand description

Parse a comma/space separated wgpu backend list such as gl or vulkan,gl. Unknown names are dropped with a warning rather than failing the whole spec, and None means “nothing valid was requested”.