aboutsummaryrefslogtreecommitdiff
path: root/src/exception.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-05-15 20:50:26 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-05-15 20:50:26 -0500
commit2b256bf82b09be437b1053739c36a87d6b4662db (patch)
tree81b40dd77aeea4d0193242352ba8e50ecf3f58e7 /src/exception.rs
parent6b5c4cf602215fec400e4c9136feb3e271877b22 (diff)
downloadcortex-m-2b256bf82b09be437b1053739c36a87d6b4662db.tar.gz
cortex-m-2b256bf82b09be437b1053739c36a87d6b4662db.tar.zst
cortex-m-2b256bf82b09be437b1053739c36a87d6b4662db.zip
derive Clone, Copy and Debug for more structs / enums
Diffstat (limited to 'src/exception.rs')
-rw-r--r--src/exception.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exception.rs b/src/exception.rs
index f5b52f6..61b7415 100644
--- a/src/exception.rs
+++ b/src/exception.rs
@@ -190,6 +190,7 @@ where
}
/// Registers stacked during an exception
+#[derive(Clone, Copy, Debug)]
#[repr(C)]
pub struct StackedRegisters {
/// (General purpose) Register 0