Struct import_map::ImportMap [−][src]
pub struct ImportMap { /* fields omitted */ }
Implementations
pub fn update_imports(
&mut self,
imports: HashMap<String, String>
) -> Result<Vec<String>, ImportMapError>
pub fn update_imports(
&mut self,
imports: HashMap<String, String>
) -> Result<Vec<String>, ImportMapError>
This is a non-standard method that allows to add more “imports” mappings to already existing import map.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImportMap
impl UnwindSafe for ImportMap
Blanket Implementations
Mutably borrows from an owned value. Read more