ide_db::imports::insert_use

Function insert_use

source
pub fn insert_use(scope: &ImportScope, path: Path, cfg: &InsertUseConfig)
Expand description

Insert an import path into the given file/node. A merge value of none indicates that no import merging is allowed to occur.