base_db

Trait Upcast

source
pub trait Upcast<T: ?Sized> {
    // Required method
    fn upcast(&self) -> &T;
}

Required Methods§

source

fn upcast(&self) -> &T

Implementors§

impl Upcast<dyn DefDatabase> for RootDatabase

impl Upcast<dyn ExpandDatabase> for RootDatabase

impl Upcast<dyn HirDatabase> for RootDatabase