Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unused)]
- fn main() {
- #[derive(Debug)]
- struct Point {
- x: i32,
- y: i32,
- }
- let origin = Point { x: 0, y: 0 };
- println!("The origin is: {:#?}", origin);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement