pub struct MagicSetMetatable { /* private fields */ }Implementations§
Source§impl MagicSetMetatable
impl MagicSetMetatable
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§
Source§impl Clone for MagicSetMetatable
impl Clone for MagicSetMetatable
Source§fn clone(&self) -> MagicSetMetatable
fn clone(&self) -> MagicSetMetatable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MagicSetMetatable
impl RefUnwindSafe for MagicSetMetatable
impl Send for MagicSetMetatable
impl Sync for MagicSetMetatable
impl Unpin for MagicSetMetatable
impl UnsafeUnpin for MagicSetMetatable
impl UnwindSafe for MagicSetMetatable
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