pub struct MathSpan<'a> {
pub pieces: ArenaVec<'a, Segment>,
pub span: Span,
}Expand description
$ … $ inline math.
The whole construct, $ sequences included, is kept raw;
content is never trimmed or decoded.
Fields§
§pieces: ArenaVec<'a, Segment>Verbatim construct, one segment per line (a multi-line span crosses container prefixes, so a single span can’t cover it).
span: SpanTrait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MathSpan<'a>
impl<'a> !Send for MathSpan<'a>
impl<'a> !UnwindSafe for MathSpan<'a>
impl<'a> Freeze for MathSpan<'a>
impl<'a> Sync for MathSpan<'a>
impl<'a> Unpin for MathSpan<'a>
impl<'a> UnsafeUnpin for MathSpan<'a>
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