pub fn parse_surface(s: &str) -> Result<Surface, String>
Parse a surface param string into a Surface. registry:<kind> maps to Registry { kind }. Unknown surfaces error (never silently defaulted).
surface
Surface
registry:<kind>
Registry { kind }