Type Alias rustc_expand::base::MacroExpanderResult

source ·
pub type MacroExpanderResult<'cx> = ExpandResult<Box<dyn MacResult + 'cx>, ()>;

Aliased Type§

enum MacroExpanderResult<'cx> {
    Ready(Box<dyn MacResult + 'cx>),
    Retry(()),
}

Variants§

§

Ready(Box<dyn MacResult + 'cx>)

Expansion produced a result (possibly dummy).

§

Retry(())

Expansion could not produce a result and needs to be retried.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes

Size for each variant:

  • Ready: 16 bytes
  • Retry: 0 bytes