pub enum AttributeContent {
Expression(MdxJsxExpressionAttribute),
Property(MdxJsxAttribute),
}Expand description
MDX: attribute content.
Variants§
Expression(MdxJsxExpressionAttribute)
JSX expression.
> | <a {...b} />
^^^^^^Property(MdxJsxAttribute)
JSX property.
> | <a b />
^Trait Implementations§
Source§impl Clone for AttributeContent
impl Clone for AttributeContent
Source§impl Debug for AttributeContent
impl Debug for AttributeContent
impl Eq for AttributeContent
Source§impl PartialEq for AttributeContent
impl PartialEq for AttributeContent
impl StructuralPartialEq for AttributeContent
Auto Trait Implementations§
impl Freeze for AttributeContent
impl RefUnwindSafe for AttributeContent
impl Send for AttributeContent
impl Sync for AttributeContent
impl Unpin for AttributeContent
impl UnsafeUnpin for AttributeContent
impl UnwindSafe for AttributeContent
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