pub struct TexRoot {
pub span: Range<usize>,
pub items: Vec<TexItem>,
}Expand description
Root node of the TeX AST.
Fields§
§span: Range<usize>The span of the root node.
items: Vec<TexItem>The items contained in the root node.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TexRoot
impl<'de> Deserialize<'de> for TexRoot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TexRoot
impl RefUnwindSafe for TexRoot
impl Send for TexRoot
impl Sync for TexRoot
impl Unpin for TexRoot
impl UnsafeUnpin for TexRoot
impl UnwindSafe for TexRoot
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