pub enum NodeType {
Rept(Vec<u32>),
File(Vec<u8>),
Macro(Vec<u8>),
}
Expand description
A file stack node’s type, and associated type-dependent data.
Variants§
Rept(Vec<u32>)
The node represents one or more REPT
blocks, and contains the iteration count for each of
them.
File(Vec<u8>)
The node represents a top-level or INCLUDE
d file, and contains the file’s path (which may
not be valid UTF-8).
Macro(Vec<u8>)
The node represents a macro invocation, and contains the macro’s name (which may not be valid UTF-8).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeType
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
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