daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct Speed{
  2.     speed: i32,
  3.     direction: i32
  4. }
  5.  
  6. #[derive(Default)]
  7. struct Car{
  8.     speed: Speed,
  9.     color: String
  10. }
  11.  
  12. fn main() {
  13.     println!("Hello, world!");
  14. }
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