Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unused)]
- use std::io::{Read, Seek, Write};
- struct Foo<W: Read + Write + Seek> {
- store: W,
- }
- struct FooIter<W: Read + Write + Seek> {
- current: Vec<u8>,
- backing: Foo<W>,
- }
- // Can I implement Ord for comparing two
- // different type arguments, ie FooIter<S>.cmp(FooIter<V>)?
- fn main() {}
Add Comment
Please, Sign In to add comment