diff --git a/src/structures/idt.rs b/src/structures/idt.rs index 9ddb8e8e..61839158 100644 --- a/src/structures/idt.rs +++ b/src/structures/idt.rs @@ -1014,6 +1014,7 @@ impl EntryOptions { /// This wrapper type ensures that no accidental modification of the interrupt stack frame /// occurs, which can cause undefined behavior (see the [`as_mut`](InterruptStackFrame::as_mut) /// method for more information). +#[derive(Clone, Copy)] #[repr(transparent)] pub struct InterruptStackFrame(InterruptStackFrameValue);