pub fn recognize_str(source: &str) -> Result<(), Error>
Test whether a string represent a valid WGSL module (TranslationUnit).
TranslationUnit
Warning: it does not take WESL extensions into account.