forked from M-Labs/zynq-rs
Added Copy trait for Milliseconds struct.
This commit is contained in:
parent
d52466cacf
commit
191da7c959
@ -1,4 +1,4 @@
|
|||||||
#[derive(Debug, Clone, PartialEq, PartialOrd)]
|
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd)]
|
||||||
pub struct Milliseconds(pub u64);
|
pub struct Milliseconds(pub u64);
|
||||||
|
|
||||||
impl core::ops::Add for Milliseconds {
|
impl core::ops::Add for Milliseconds {
|
||||||
|
Loading…
Reference in New Issue
Block a user