pub struct MagicPack { /* private fields */ }Implementations§
Source§impl MagicPack
impl MagicPack
pub fn handle_old_solver( &self, context: &mut TypeChecker, scope: &Arc<Scope>, call_site: &AstExprCall, old_result: WithPredicate<TypePackId>, ) -> Option<WithPredicate<TypePackId>>
pub fn infer(&self, ctx: &MagicFunctionCallContext) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MagicPack
impl RefUnwindSafe for MagicPack
impl Send for MagicPack
impl Sync for MagicPack
impl Unpin for MagicPack
impl UnsafeUnpin for MagicPack
impl UnwindSafe for MagicPack
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