syntax_
bridge
0.0.0
Span
Mapper
Required Methods
span_for
Implementations on Foreign Types
&SM
SpanMap<S>
Implementors
In crate syntax_
bridge
syntax_bridge
Trait
SpanMapper
Copy item path
Source
pub trait SpanMapper<S> { // Required method fn
span_for
(&self, range: TextRange) -> S; }
Required Methods
§
Source
fn
span_for
(&self, range: TextRange) -> S
Implementations on Foreign Types
§
Source
§
impl<S>
SpanMapper
<SpanData<S>> for SpanMap<S>
where SpanData<S>:
Copy
,
Source
§
fn
span_for
(&self, range: TextRange) -> SpanData<S>
Source
§
impl<S:
Copy
, SM:
SpanMapper
<S>>
SpanMapper
<S> for
&SM
Source
§
fn
span_for
(&self, range: TextRange) -> S
Implementors
§
Source
§
impl
SpanMapper
<SpanData<SyntaxContextId>> for
DummyTestSpanMap