Guest User

Untitled

a guest
May 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. struct Wall { from: Point, to: Point }
  2.  
  3. impl Wall {
  4. fn contains(pos:Point) -> bool {...}
  5. }
  6.  
  7. struct Gate { from: Point, to: Point }
  8.  
  9. impl Gate{
  10. fn contains(pos:Point) -> bool {...}
  11. }
Add Comment
Please, Sign In to add comment