mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
xous-rs: mark Scalar messaages as Clone,Copy
They are all scalar values, so there's no reason not to mark them Copy. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
1216963d24
commit
b52847e467
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ impl MemoryMessage {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq, Clone, Copy)]
|
||||||
/// A simple scalar message. This is similar to a `move` message.
|
/// A simple scalar message. This is similar to a `move` message.
|
||||||
pub struct ScalarMessage {
|
pub struct ScalarMessage {
|
||||||
pub id: MessageId,
|
pub id: MessageId,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue