Struct ra_ap_ide::StaticIndex [−][src]
pub struct StaticIndex<'a> {
pub files: Vec<StaticIndexedFile>,
pub tokens: TokenStore,
// some fields omitted
}
Expand description
A static representation of fully analyzed source code.
The intended use-case is powering read-only code browsers and emitting LSIF
Fields
files: Vec<StaticIndexedFile>
tokens: TokenStore
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for StaticIndex<'a>
impl<'a> !Send for StaticIndex<'a>
impl<'a> !Sync for StaticIndex<'a>
impl<'a> Unpin for StaticIndex<'a>
impl<'a> UnwindSafe for StaticIndex<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more