pub fn upcast_object<A, B: ?Sized>() -> Rc<impl Fn(Object<A>) -> Object<B>>where A: UpcastObject<B> + ?Sized,