Struct markdown::mdast::MdxJsxFlowElement
source · pub struct MdxJsxFlowElement {
pub children: Vec<Node>,
pub position: Option<Position>,
pub name: Option<String>,
pub attributes: Vec<AttributeContent>,
}
Expand description
MDX: JSX element (container).
> | <a />
^^^^^
Fields§
§children: Vec<Node>
Content model.
position: Option<Position>
Positional info.
name: Option<String>
Name.
Fragments have no name.
attributes: Vec<AttributeContent>
Attributes.
Trait Implementations§
source§impl Clone for MdxJsxFlowElement
impl Clone for MdxJsxFlowElement
source§fn clone(&self) -> MdxJsxFlowElement
fn clone(&self) -> MdxJsxFlowElement
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 MdxJsxFlowElement
impl Debug for MdxJsxFlowElement
source§impl PartialEq for MdxJsxFlowElement
impl PartialEq for MdxJsxFlowElement
source§fn eq(&self, other: &MdxJsxFlowElement) -> bool
fn eq(&self, other: &MdxJsxFlowElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MdxJsxFlowElement
impl StructuralEq for MdxJsxFlowElement
impl StructuralPartialEq for MdxJsxFlowElement
Auto Trait Implementations§
impl RefUnwindSafe for MdxJsxFlowElement
impl Send for MdxJsxFlowElement
impl Sync for MdxJsxFlowElement
impl Unpin for MdxJsxFlowElement
impl UnwindSafe for MdxJsxFlowElement
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