pub struct MacroTable {
pub defs: HashMap<String, Vec<(String, AttrValue)>>,
}Expand description
Macro definitions from [attr]name ... lines.
Fields§
§defs: HashMap<String, Vec<(String, AttrValue)>>Maps macro name → list of assignments (e.g. !test → unset test).
Trait Implementations§
Source§impl Clone for MacroTable
impl Clone for MacroTable
Source§fn clone(&self) -> MacroTable
fn clone(&self) -> MacroTable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MacroTable
impl Debug for MacroTable
Source§impl Default for MacroTable
impl Default for MacroTable
Source§fn default() -> MacroTable
fn default() -> MacroTable
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MacroTable
impl RefUnwindSafe for MacroTable
impl Send for MacroTable
impl Sync for MacroTable
impl Unpin for MacroTable
impl UnsafeUnpin for MacroTable
impl UnwindSafe for MacroTable
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