Struct markdown::mdast::MdxJsxAttribute
source · pub struct MdxJsxAttribute {
pub name: String,
pub value: Option<AttributeValue>,
}
Expand description
MDX: JSX attribute.
> | <a b />
^
Fields§
§name: String
Positional info. Key.
value: Option<AttributeValue>
Value.
Trait Implementations§
source§impl Clone for MdxJsxAttribute
impl Clone for MdxJsxAttribute
source§fn clone(&self) -> MdxJsxAttribute
fn clone(&self) -> MdxJsxAttribute
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 MdxJsxAttribute
impl Debug for MdxJsxAttribute
source§impl PartialEq for MdxJsxAttribute
impl PartialEq for MdxJsxAttribute
source§fn eq(&self, other: &MdxJsxAttribute) -> bool
fn eq(&self, other: &MdxJsxAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MdxJsxAttribute
impl StructuralEq for MdxJsxAttribute
impl StructuralPartialEq for MdxJsxAttribute
Auto Trait Implementations§
impl RefUnwindSafe for MdxJsxAttribute
impl Send for MdxJsxAttribute
impl Sync for MdxJsxAttribute
impl Unpin for MdxJsxAttribute
impl UnwindSafe for MdxJsxAttribute
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