We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d6941 commit d6fb7e9Copy full SHA for d6fb7e9
src/libstd/io/cursor.rs
@@ -31,6 +31,7 @@ use slice;
31
/// over `T` itself. Instead, specific implementations are provided for various
32
/// in-memory buffer types like `Vec<u8>` and `&[u8]`.
33
#[stable(feature = "rust1", since = "1.0.0")]
34
+#[derive(Clone, Debug)]
35
pub struct Cursor<T> {
36
inner: T,
37
pos: u64,
0 commit comments