Function dyon::load_str [] [src]

pub fn load_str(source: &str,
                d: Arc<String>,
                module: &mut Module)
                -> Result<(), String>

Loads a source from string.

  • source - The name of source file
  • d - The data of source file
  • module - The module to load the source