Docs.rs
ra_ap_syntax-bridge-0.0.280
ra_ap_syntax-bridge 0.0.280
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
rust-lang-owner
Dependencies
ra_ap_intern =0.0.280
normal
ra_ap_parser =0.0.280
normal
rustc-hash ^2.1.1
normal
ra_ap_span =0.0.280
normal
ra_ap_stdx =0.0.280
normal
ra_ap_syntax =0.0.280
normal
ra_ap_tt =0.0.280
normal
Versions
72.22%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
ra_
ap_
syntax_
bridge
0.0.280
Span
Mapper
Required Methods
span_for
Implementations on Foreign Types
&SM
SpanMap<S>
Implementors
In crate ra_
ap_
syntax_
bridge
ra_ap_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
<
SyntaxContext
>> for
DummyTestSpanMap