pub struct Macro {
pub protected: bool,
pub tokens: TokenList,
pub native: Cell<u16>,
}Expand description
A macro definition.
Fields§
§protected: boole-TeX \protected flag.
tokens: TokenListParameter text (match tokens), the END_MATCH token, then the body.
native: Cell<u16>The native implementation of this definition, found on first call
(crate::native): 0 = not looked up yet, 1 = none, else the
registry index + 2.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Macro
impl !RefUnwindSafe for Macro
impl !Send for Macro
impl !Sync for Macro
impl Unpin for Macro
impl UnsafeUnpin for Macro
impl UnwindSafe for Macro
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