| 25 | } |
| 26 | |
| 27 | pub(crate) trait WasmEncode |
| 28 | where |
| 29 | Self: Sized, |
| 30 | { |
| 31 | fn align() -> usize; |
| 32 | fn size() -> usize; |
| 33 | fn encode(&self, bytes: &mut [u8]); |
| 34 | } |
| 35 | |
| 36 | impl WasmEncode for u32 { |
| 37 | fn align() -> usize { |
nothing calls this directly
no outgoing calls
no test coverage detected