pub struct Document {
pub body: Vec<Node>,
}Expand description
The root of a parsed LaTeX document.
For now we do not distinguish preamble from body - everything lands in
body. Will add that split when handling for \begin{document} is done.
Fields§
§body: Vec<Node>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnsafeUnpin for Document
impl UnwindSafe for Document
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