CorelibSemantic

Trait CorelibSemantic 

Source
pub trait CorelibSemantic<'db>: Database {
    // Provided methods
    fn core_crate(&'db self) -> CrateId<'db> { ... }
    fn core_module(&'db self) -> ModuleId<'db> { ... }
    fn core_info(&'db self) -> Arc<CoreInfo<'db>> { ... }
}
Expand description

Trait for corelib-related semantic queries.

Provided Methods§

Source

fn core_crate(&'db self) -> CrateId<'db>

Source

fn core_module(&'db self) -> ModuleId<'db>

Source

fn core_info(&'db self) -> Arc<CoreInfo<'db>>

Implementors§

Source§

impl<'db, T: Database + ?Sized> CorelibSemantic<'db> for T