pub fn scripts_from_files<D: Directive>(
files: &[(String, Option<&str>)],
rules: &impl SceneRules<D>,
) -> Result<Scripts<D>, Vec<ContentError>>Expand description
Like scripts_from_sources, for files given as (file name, source) where a None source is a file that isn’t valid UTF-8 (an
error).