pub enum ImportAttributes {
None,
Unknown,
Known(HashMap<String, ImportAssertion>),
}
Variants§
None
There was no import assertions object literal.
Unknown
The set of assertion keys could not be statically analyzed.
Known(HashMap<String, ImportAssertion>)
The set of assertion keys is statically analyzed, though each respective value may or may not not be for dynamic imports.
Implementations§
Trait Implementations§
source§impl Clone for ImportAttributes
impl Clone for ImportAttributes
source§fn clone(&self) -> ImportAttributes
fn clone(&self) -> ImportAttributes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImportAttributes
impl Debug for ImportAttributes
source§impl Default for ImportAttributes
impl Default for ImportAttributes
source§impl PartialEq for ImportAttributes
impl PartialEq for ImportAttributes
source§fn eq(&self, other: &ImportAttributes) -> bool
fn eq(&self, other: &ImportAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ImportAttributes
impl StructuralEq for ImportAttributes
impl StructuralPartialEq for ImportAttributes
Auto Trait Implementations§
impl RefUnwindSafe for ImportAttributes
impl Send for ImportAttributes
impl Sync for ImportAttributes
impl Unpin for ImportAttributes
impl UnwindSafe for ImportAttributes
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