Struct import_map::SpecifierMapEntry
source · pub struct SpecifierMapEntry<'a> {
pub key: &'a str,
pub raw_key: &'a str,
pub value: Option<&'a Url>,
pub raw_value: Option<&'a str>,
}
Expand description
A key value entry in an import map’s “imports”, or imports of a scope.
Fields§
§key: &'a str
Resolved key.
raw_key: &'a str
Text of the key in the import map file.
value: Option<&'a Url>
Resolved value.
raw_value: Option<&'a str>
Text of the value found in the import map file.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SpecifierMapEntry<'a>
impl<'a> RefUnwindSafe for SpecifierMapEntry<'a>
impl<'a> Send for SpecifierMapEntry<'a>
impl<'a> Sync for SpecifierMapEntry<'a>
impl<'a> Unpin for SpecifierMapEntry<'a>
impl<'a> UnwindSafe for SpecifierMapEntry<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more