pub struct LinkMacro {
pub name: Vec<u8>,
pub has_args: bool,
pub has_varargs: bool,
pub params: Vec<Vec<u8>>,
pub expansion: Vec<u8>,
}Expand description
A macro as the program’s table of macros has it, which a program can ask for when it is run before its image is written.
Fields§
§name: Vec<u8>The macro’s name.
has_args: boolDefined with a parameter list, even an empty one.
has_varargs: boolThe last parameter stands for any number of arguments.
params: Vec<Vec<u8>>The parameters’ names.
expansion: Vec<u8>The expansion as the source wrote it.
Trait Implementations§
impl Eq for LinkMacro
impl StructuralPartialEq for LinkMacro
Auto Trait Implementations§
impl Forget for LinkMacro
impl Freeze for LinkMacro
impl Move for LinkMacro
impl RefUnwindSafe for LinkMacro
impl Send for LinkMacrowhere
RawVecInner: Send,
impl Sync for LinkMacrowhere
RawVecInner: Sync,
impl Unpin for LinkMacro
impl UnsafeUnpin for LinkMacrowhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Vec<u8>>: UnsafeUnpin,
impl UnwindSafe for LinkMacrowhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.