Trait GetSpan

Source
pub trait GetSpan {
    // Required method
    fn get_span(&self) -> Span;
}
Expand description

Gets the Span of Syn metadata

Required Methods§

Source

fn get_span(&self) -> Span

Implementations on Foreign Types§

Source§

impl GetSpan for Meta

Source§

fn get_span(&self) -> Span

Source§

impl GetSpan for NestedMeta

Source§

fn get_span(&self) -> Span

Source§

impl GetSpan for Attribute

Source§

fn get_span(&self) -> Span

Source§

impl GetSpan for Attribute

Source§

fn get_span(&self) -> Span

Implementors§