pub struct MathPlaceholder {
pub index: usize,
pub source: String,
pub is_block: bool,
}Expand description
A math expression extracted from a Markdown source.
Fields§
§index: usize§source: String§is_block: booltrue for $$...$$ (block), false for $...$ (inline).
Trait Implementations§
Source§impl Clone for MathPlaceholder
impl Clone for MathPlaceholder
Source§fn clone(&self) -> MathPlaceholder
fn clone(&self) -> MathPlaceholder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MathPlaceholder
impl RefUnwindSafe for MathPlaceholder
impl Send for MathPlaceholder
impl Sync for MathPlaceholder
impl Unpin for MathPlaceholder
impl UnsafeUnpin for MathPlaceholder
impl UnwindSafe for MathPlaceholder
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