Struct racer::core::Session [] [src]

pub struct Session<'c> {
    // some fields omitted
}

Methods

impl<'c> Session<'c>
[src]

fn from_path(cache: &'c FileCache<'c>, query_path: &Path, substitute_file: &Path) -> Session<'c>

fn cache_file_contents<T>(&self, filepath: &Path, buf: T) where T: Into<String>

fn open_file(&self, path: &Path) -> Result<File>

fn read_file(&self, path: &Path) -> Vec<u8>

fn load_file(&self, filepath: &Path) -> Src<'c>

fn load_file_and_mask_comments(&self, filepath: &Path) -> Src<'c>

Trait Implementations

impl<'a> Drop for Session<'a>
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more

impl<'c> Debug for Session<'c>
[src]

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.