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