mod moves { struct TestMove; impl TestMove { pub fn change_speed(self, choice, speed) { println(`change_speed: ${choice.speed()}`); println(`user level: ${choice.user().level()}`); speed.value = 100; } } }