Trait chalk_integration::query::UpcastFrom

source ·
pub trait UpcastFrom<T: ?Sized> {
    // Required method
    fn upcast_from(val: &T) -> &Self;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, T: RustIrDatabase<ChalkIr> + 'a> UpcastFrom<T> for dyn RustIrDatabase<ChalkIr> + 'a

source§

fn upcast_from(val: &T) -> &(dyn RustIrDatabase<ChalkIr> + 'a)

Implementors§