Docs.rs
ra_ap_syntax-bridge-0.0.247
ra_ap_syntax-bridge 0.0.247
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
rust-lang-owner
Dependencies
ra_ap_intern =0.0.247
normal
ra_ap_parser =0.0.247
normal
rustc-hash ^2.0.0
normal
ra_ap_span =0.0.247
normal
ra_ap_stdx =0.0.247
normal
ra_ap_syntax =0.0.247
normal
tracing ^0.1.40
normal
ra_ap_tt =0.0.247
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
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
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.247
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
<
SyntaxContextId
>> for
DummyTestSpanMap