pub fn with_load_bundle(bundle_uri: &str) -> World {
        let world = lilv::World::new();
        let uri = world.new_uri(bundle_uri);
        world.load_bundle(&uri);
        let common_uris = Arc::new(CommonUris::new(&world));
        let plugins: Vec<Plugin> = world
            .plugins()
            .into_iter()
            .map(|p| Plugin::from_raw(p, common_uris.clone()))
            .collect();

        World {
            livi_plugins: plugins,
        }
    }
/// Creates a new world that includes only a single
/// plugin specified by bundle_uri.
/// bundle_uri must be a fully qualified URI to the bundle directory,
/// with the trailing slash, eg file:///usr/lib/lv2/foo.lv2/.
Creates a new world that includes only a single
plugin specified by bundle_uri.
Creates a new world that includes only a single plugin specified by bundle_uri .
pub fn with_load_bundle(bundle_uri: &str) -> World {
        let world = lilv::World::new();
        let uri = world.new_uri(bundle_uri);
        world.load_bundle(&uri);
        let common_uris = Arc::new(CommonUris::new(&world));
        let plugins: Vec<Plugin> = world
            .plugins()
            .into_iter()
            .map(|p| Plugin::from_raw(p, common_uris.clone()))
            .collect();
        World {
            livi_plugins: plugins,
        }
    }
pub fn with_load_bundle ( bundle_uri : & str ) -> World { let world = lilv :: World :: new ( ) ; let uri = world . new_uri ( bundle_uri ) ; world . load_bundle ( & uri ) ; let common_uris = Arc :: new ( CommonUris :: new ( & world ) ) ; let plugins : Vec < Plugin > = world . plugins ( ) . into_iter ( ) . map ( | p | Plugin :: from_raw ( p , common_uris . clone ( ) ) ) . collect ( ) ; World { livi_plugins : plugins , } }
Creates a new world that includes only a single
plugin specified by bundle_uri.
Creates a new world that includes only a single plugin specified by bundle_uri .
bundle_uri
&str
bundle_uri
&str