Struct import_map::ScopeEntry
source · [−]pub struct ScopeEntry<'a> {
pub key: &'a str,
pub raw_key: &'a str,
pub imports: &'a SpecifierMap,
}
Expand description
A key value entry of a scope.
Fields
key: &'a str
Resolved key.
raw_key: &'a str
Text of the key in the import map file.
imports: &'a SpecifierMap
Specifier map contained in the scope.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ScopeEntry<'a>
impl<'a> Send for ScopeEntry<'a>
impl<'a> Sync for ScopeEntry<'a>
impl<'a> Unpin for ScopeEntry<'a>
impl<'a> UnwindSafe for ScopeEntry<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more