pub fn load_embedded(
e: &Embedded,
materialize_to: Option<&Path>,
) -> Result<Plugin, LoadError>Expand description
Load a plugin whose files are in the binary (see Embedded). Its dir is
(built into byob)/<id>, for display only, unless it runs processes (a backend or script
tools) and materialize_to is given: then its files are written to a versioned,
read-only folder there (crate::materialize) and dir is that folder. Without one,
scripts and backends are problems (fork the plugin to give them files).