SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #[derive(Debug)]
  2. enum Piece { Pawn, Rook }
  3. use Piece::*;
  4.  
  5. pub fn main() {
  6.     let a = Pawn;
  7.     let b = a;
  8.     println!("{:?}", a);
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top