feat(sdk): `ItemPosition` has the copy semantics.
This patch implements `Copy` and `Clone` for `ItemPosition`.
This commit is contained in:
parent
4774cc8e65
commit
9dcab4ed30
|
@ -583,7 +583,7 @@ impl ChunkIdentifier {
|
|||
///
|
||||
/// It's a pair of a chunk position and an item index. `(…, 0)` represents
|
||||
/// the last item in the chunk.
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
||||
pub struct ItemPosition(ChunkIdentifier, usize);
|
||||
|
||||
impl ItemPosition {
|
||||
|
|
Loading…
Reference in New Issue