pub struct CheckHooks {
pub record: Option<Rc<dyn Fn(&Rc<Expr>, &Ty)>>,
pub resolve_hook: Option<Rc<dyn Fn(&Rc<Expr>, Option<Target>)>>,
}Expand description
the language server’s tables, filled while the checker runs (infer.rs hooks)
Fields§
§record: Option<Rc<dyn Fn(&Rc<Expr>, &Ty)>>§resolve_hook: Option<Rc<dyn Fn(&Rc<Expr>, Option<Target>)>>Auto Trait Implementations§
impl !RefUnwindSafe for CheckHooks
impl !Send for CheckHooks
impl !Sync for CheckHooks
impl !UnwindSafe for CheckHooks
impl Freeze for CheckHooks
impl Unpin for CheckHooks
impl UnsafeUnpin for CheckHooks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more