fn fork_vtable(&self, mc: MutationContext<'gc, '_>) {
        let mut base = self.base_mut(mc);
        let vtable = base.vtable().unwrap().duplicate(mc);
        base.set_vtable(vtable);
    }
// Duplicates the vtable for modification without subclassing
// Note: this detaches the vtable from the original class.
Duplicates the vtable for modification without subclassing
Note: this detaches the vtable from the original class.
Duplicates the vtable for modification without subclassing Note : this detaches the vtable from the original class .
fn fork_vtable(&self, mc: MutationContext<'gc, '_>) {
        let mut base = self.base_mut(mc);
        let vtable = base.vtable().unwrap().duplicate(mc);
        base.set_vtable(vtable);
    }
fn fork_vtable ( & self , mc : MutationContext < ' gc , ' _ > ) { let mut base = self . base_mut ( mc ) ; let vtable = base . vtable ( ) . unwrap ( ) . duplicate ( mc ) ; base . set_vtable ( vtable ) ; }
Duplicates the vtable for modification without subclassing
Note: this detaches the vtable from the original class.
Duplicates the vtable for modification without subclassing Note : this detaches the vtable from the original class .
&self
mc
MutationContext<'gc, '_>
&self
mc
MutationContext<'gc, '_>