Advertisement
Guest User

Untitled

a guest
May 25th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. pub mod inner {
  2. pub struct Data;
  3.  
  4. struct Value;
  5. //struct Key;
  6. use super::Key;
  7.  
  8. impl std::ops::Index<Key> for Data {
  9. type Output = Value;
  10. fn index(&self, index: Key) -> &Self::Output {
  11. unimplemented!()
  12. }
  13. }
  14. }
  15.  
  16. struct Key;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement