Guest User

Untitled

a guest
May 26th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #![allow(unused)]
  2.  
  3. use std::io::{Read, Seek, Write};
  4.  
  5. struct Foo<W: Read + Write + Seek> {
  6. store: W,
  7. }
  8.  
  9. struct FooIter<W: Read + Write + Seek> {
  10. current: Vec<u8>,
  11. backing: Foo<W>,
  12. }
  13.  
  14. // Can I implement Ord for comparing two
  15. // different type arguments, ie FooIter<S>.cmp(FooIter<V>)?
  16.  
  17. fn main() {}
Add Comment
Please, Sign In to add comment