Derive Clone for OperationInSequence

This commit is contained in:
Hanno Braun 2024-12-09 20:26:29 +01:00
parent d474ee33ec
commit 1375026571

View File

@ -75,6 +75,7 @@ impl Operation for OpsLog {
} }
} }
#[derive(Clone)]
pub struct OperationInSequence { pub struct OperationInSequence {
pub operation: ClonedOperation, pub operation: ClonedOperation,
pub previous: Option<ClonedOperation>, pub previous: Option<ClonedOperation>,
@ -148,6 +149,7 @@ impl<'r, T> OperationResult<'r, T> {
} }
} }
#[derive(Clone)]
pub struct ClonedOperation { pub struct ClonedOperation {
pub description: String, pub description: String,
pub vertices: Vec<Vertex>, pub vertices: Vec<Vertex>,