[][src]Trait lark_hir::SpanIndex

pub trait SpanIndex {
    fn span_from(self, tables: &FnBodyTables) -> Span<FileName>;
}

Trait for the various types for which a span can be had -- corresponds to all the index types plus MetaIndex.

Required methods

fn span_from(self, tables: &FnBodyTables) -> Span<FileName>

Loading content...

Implementors

impl SpanIndex for MetaIndex[src]

impl<I: HirIndex> SpanIndex for I[src]

Loading content...