Crate racer [] [src]

Structs

Coordinate

Line and Column position in a file

FileCache

Caches file contents for re-use between sessions.

Match

Context, source, and etc. for detected completion or definition

PathSearch

Information about generic types in a match

Session

Context for a Racer operation

Enums

Location

The cursor position used by public search methods

MatchType

Within a Match, specifies what was matched

RustSrcPathError

Error type returned from check_rust_src_env_var()

Traits

FileLoader

Used by the FileCache for loading files

Functions

check_rust_src_env_var

Check for RUST_SRC_PATH environment variable validity and presence

complete_from_file

Search for completion at position in a file

complete_fully_qualified_name

Find completions for a fully qualified name like std::io::

expand_ident

Given a string and index, return span of identifier

find_definition

Find the definition for item at given a file, source, and cursor index

snippet_for_match

Returns completion snippets usable by some editors