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:
Sean Cross 2020-07-16 10:21:20 +08:00
parent 1216963d24
commit b52847e467

View file

@ -209,7 +209,7 @@ impl MemoryMessage {
}
#[repr(C)]
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Clone, Copy)]
/// A simple scalar message. This is similar to a `move` message.
pub struct ScalarMessage {
pub id: MessageId,