pub struct MdxEsm {
pub meta: NodeMeta,
pub value: String,
}Expand description
An MDX ESM block: top-level import/export statements (distinct from directives).
Fields§
§meta: NodeMetaNode metadata (source span).
value: StringThe literal ESM source.
Trait Implementations§
impl Eq for MdxEsm
impl StructuralPartialEq for MdxEsm
Auto Trait Implementations§
impl Freeze for MdxEsm
impl RefUnwindSafe for MdxEsm
impl Send for MdxEsm
impl Sync for MdxEsm
impl Unpin for MdxEsm
impl UnsafeUnpin for MdxEsm
impl UnwindSafe for MdxEsm
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