pub struct MacroDef {
pub params: Option<usize>,
pub body: String,
}Expand description
One -define(NAME, ...) or -define(NAME(Args), ...) form:
params is None for the object-like form, and body is the
definition text with comments stripped and whitespace collapsed.
Fields§
§params: Option<usize>§body: StringTrait Implementations§
impl Eq for MacroDef
impl StructuralPartialEq for MacroDef
Auto Trait Implementations§
impl Freeze for MacroDef
impl RefUnwindSafe for MacroDef
impl Send for MacroDef
impl Sync for MacroDef
impl Unpin for MacroDef
impl UnsafeUnpin for MacroDef
impl UnwindSafe for MacroDef
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