pub struct MdxJsxInline {
pub meta: NodeMeta,
pub value: String,
}Expand description
An inline MDX JSX element (distinct from directives).
Fields§
§meta: NodeMetaNode metadata (source span).
value: StringThe literal JSX source.
Trait Implementations§
Source§impl Clone for MdxJsxInline
impl Clone for MdxJsxInline
Source§fn clone(&self) -> MdxJsxInline
fn clone(&self) -> MdxJsxInline
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MdxJsxInline
impl Debug for MdxJsxInline
impl Eq for MdxJsxInline
Source§impl From<MdxJsxInline> for Inline
impl From<MdxJsxInline> for Inline
Source§fn from(node: MdxJsxInline) -> Self
fn from(node: MdxJsxInline) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MdxJsxInline
impl PartialEq for MdxJsxInline
Source§fn eq(&self, other: &MdxJsxInline) -> bool
fn eq(&self, other: &MdxJsxInline) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MdxJsxInline
Auto Trait Implementations§
impl Freeze for MdxJsxInline
impl RefUnwindSafe for MdxJsxInline
impl Send for MdxJsxInline
impl Sync for MdxJsxInline
impl Unpin for MdxJsxInline
impl UnsafeUnpin for MdxJsxInline
impl UnwindSafe for MdxJsxInline
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