(&self)
| 33 | |
| 34 | impl Clone for BlockType { |
| 35 | fn clone(&self) -> Self { |
| 36 | match self { |
| 37 | Self::Void => Self::Void, |
| 38 | Self::Single(x) => Self::Single(*x), |
| 39 | Self::ABISig(x) => Self::ABISig(x.clone()), |
| 40 | Self::Func(f) => Self::Func(f.clone_panic_on_oom()), |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | /// Holds all the information about the signature of the block. |
no test coverage detected