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