Trait Upcast
ra_ap_base_db
pub trait Upcast<T: ?Sized> { fn upcast(&self) -> &T; }
fn upcast(&self) -> &T