University's Project


Hi everyone! Me and my colleague are planning a game in Rust. This is a gameboard, so we’re starting from the crate: chess. We have some problem with the moves on the BitBoard. One of our problems is:
Which input is required by the types: Rank and File? The errors are: E0061, E0308

thank you, Chiara and Francesco


Hi, you can use Rank::from_index() and File::from_index() to initialize them but I don’t think that it is really your problem. You can look up the errors here, I’d like to help more but without seeing the code I don’t know how, you can use the playground to easily share code.


Thank you very much for helping us!