pub struct Macro {
pub protected: bool,
pub tokens: TokenList,
}Expand description
A macro definition.
Fields§
§protected: boole-TeX \protected flag.
tokens: TokenListParameter text (match tokens), the END_MATCH token, then the body.
Trait Implementations§
impl Eq for Macro
impl StructuralPartialEq for Macro
Auto Trait Implementations§
impl !Send for Macro
impl !Sync for Macro
impl Freeze for Macro
impl RefUnwindSafe 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