Struct mathml_latex::LaTeXBlock
source · pub struct LaTeXBlock<'i> {
pub kind: &'i str,
pub children: Vec<LaTeXNode<'i>>,
}
Expand description
\begin{kind}
… \end{kind}
Fields§
§kind: &'i str
The name of the block, e.g. matrix
, cases
, etc.
children: Vec<LaTeXNode<'i>>
The children of the block.
Implementations§
source§impl<'i> LaTeXBlock<'i>
impl<'i> LaTeXBlock<'i>
pub fn as_mathml(&self, context: &LaTeXEngine) -> MathML
source§impl<'i> LaTeXBlock<'i>
impl<'i> LaTeXBlock<'i>
pub fn parse(input: ParseState<'i>) -> ParseResult<'_, LaTeXBlock<'i>>
Trait Implementations§
source§impl<'i> Clone for LaTeXBlock<'i>
impl<'i> Clone for LaTeXBlock<'i>
source§fn clone(&self) -> LaTeXBlock<'i>
fn clone(&self) -> LaTeXBlock<'i>
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<'i> Debug for LaTeXBlock<'i>
impl<'i> Debug for LaTeXBlock<'i>
Auto Trait Implementations§
impl<'i> RefUnwindSafe for LaTeXBlock<'i>
impl<'i> Send for LaTeXBlock<'i>
impl<'i> Sync for LaTeXBlock<'i>
impl<'i> Unpin for LaTeXBlock<'i>
impl<'i> UnwindSafe for LaTeXBlock<'i>
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