cargo::ops::cargo_install

Function is_installed

Source
fn is_installed(
    pkg: &Package,
    gctx: &GlobalContext,
    opts: &CompileOptions,
    rustc: &Rustc,
    target: &str,
    root: &Filesystem,
    dst: &Path,
    force: bool,
) -> CargoResult<bool>