[][src]Struct ra_ap_ide::RootDatabase

pub struct RootDatabase {
    pub last_gc: Instant,
    pub last_gc_check: Instant,
    // some fields omitted
}

Fields

last_gc: Instantlast_gc_check: Instant

Implementations

impl RootDatabase[src]

pub fn request_cancellation(&mut self)[src]

pub fn apply_change(&mut self, change: AnalysisChange)[src]

pub fn maybe_collect_garbage(&mut self)[src]

pub fn collect_garbage(&mut self)[src]

pub fn per_query_memory_usage(&mut self) -> Vec<(String, Bytes)>[src]

impl RootDatabase[src]

pub fn new(lru_capacity: Option<usize>) -> RootDatabase[src]

pub fn update_lru_capacity(&mut self, lru_capacity: Option<usize>)[src]

Trait Implementations

impl Database for RootDatabase[src]

impl Debug for RootDatabase[src]

impl Default for RootDatabase[src]

impl FileLoader for RootDatabase[src]

impl ParallelDatabase for RootDatabase[src]

impl Upcast<dyn AstDatabase + 'static> for RootDatabase[src]

impl Upcast<dyn DefDatabase + 'static> for RootDatabase[src]

impl Upcast<dyn HirDatabase + 'static> for RootDatabase[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<DB> AstDatabase for DB where
    DB: SourceDatabase + Database + HasQueryGroup<AstDatabaseStorage>, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Cast for T

impl<T> CheckCanceled for T where
    T: Database, 
[src]

impl<DB> DefDatabase for DB where
    DB: InternDatabase + AstDatabase + Upcast<dyn AstDatabase + 'static> + Database + HasQueryGroup<DefDatabaseStorage>, 

impl<T> From<T> for T[src]

impl<DB> HirDatabase for DB where
    DB: DefDatabase + Upcast<dyn DefDatabase + 'static> + Database + HasQueryGroup<HirDatabaseStorage>, 

impl<DB> InternDatabase for DB where
    DB: SourceDatabase + Database + HasQueryGroup<InternDatabaseStorage>, 

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<DB> LineIndexDatabase for DB where
    DB: SourceDatabase + CheckCanceled + Database + HasQueryGroup<LineIndexDatabaseStorage>, 
[src]

impl<DB> SourceDatabase for DB where
    DB: CheckCanceled + FileLoader + Debug + Database + HasQueryGroup<SourceDatabaseStorage>, 
[src]

impl<DB> SourceDatabaseExt for DB where
    DB: SourceDatabase + Database + HasQueryGroup<SourceDatabaseExtStorage>, 
[src]

impl<DB> SymbolsDatabase for DB where
    DB: HirDatabase + SourceDatabaseExt + Database + HasQueryGroup<SymbolsDatabaseStorage>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<DB> WithFixture for DB where
    DB: 'static + SourceDatabaseExt + Default
[src]