Struct proc_macro::Span [] [src]

pub struct Span(_);
🔬 This is a nightly-only experimental API. (proc_macro #38356)

A region of source code, along with macro expansion information.

Methods

impl Span
[src]

[src]

🔬 This is a nightly-only experimental API. (proc_macro #38356)

The span of the invocation of the current procedural macro.

Trait Implementations

impl Copy for Span
[src]

impl Clone for Span
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Span
[src]

[src]

Formats the value using the given formatter.

impl Default for Span
[src]

[src]

Returns the "default value" for a type. Read more