Struct markdown::mdast::MdxTextExpression
source · pub struct MdxTextExpression {
pub value: String,
pub position: Option<Position>,
pub stops: Vec<Stop>,
}
Expand description
MDX: expression (text).
> | a {b}
^^^
Fields§
§value: String
Content model.
position: Option<Position>
Positional info.
stops: Vec<Stop>
Trait Implementations§
source§impl Clone for MdxTextExpression
impl Clone for MdxTextExpression
source§fn clone(&self) -> MdxTextExpression
fn clone(&self) -> MdxTextExpression
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 MdxTextExpression
impl Debug for MdxTextExpression
source§impl PartialEq for MdxTextExpression
impl PartialEq for MdxTextExpression
source§fn eq(&self, other: &MdxTextExpression) -> bool
fn eq(&self, other: &MdxTextExpression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MdxTextExpression
impl StructuralEq for MdxTextExpression
impl StructuralPartialEq for MdxTextExpression
Auto Trait Implementations§
impl RefUnwindSafe for MdxTextExpression
impl Send for MdxTextExpression
impl Sync for MdxTextExpression
impl Unpin for MdxTextExpression
impl UnwindSafe for MdxTextExpression
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