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