pub struct ModuleImportAttribute {
pub key: JsString,
pub value: JsString,
}Expand description
One decoded entry from a static import declaration’s with clause.
QuickJS builds the corresponding null-prototype object in source order. Keeping the ordered entries structural here preserves that observable enumeration order without introducing a JavaScript heap object during parsing.
Fields§
§key: JsStringDecoded property key, after identifier and string-literal escapes.
value: JsStringDecoded StringLiteral value.
Trait Implementations§
Source§impl Clone for ModuleImportAttribute
impl Clone for ModuleImportAttribute
Source§impl Debug for ModuleImportAttribute
impl Debug for ModuleImportAttribute
impl Eq for ModuleImportAttribute
Source§impl PartialEq for ModuleImportAttribute
impl PartialEq for ModuleImportAttribute
impl StructuralPartialEq for ModuleImportAttribute
Auto Trait Implementations§
impl !RefUnwindSafe for ModuleImportAttribute
impl !Send for ModuleImportAttribute
impl !Sync for ModuleImportAttribute
impl !UnwindSafe for ModuleImportAttribute
impl Freeze for ModuleImportAttribute
impl Unpin for ModuleImportAttribute
impl UnsafeUnpin for ModuleImportAttribute
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