()
| 55 | } |
| 56 | |
| 57 | fn usize_too_big() -> Error { |
| 58 | error("encountered a isize/usize with more than 32 bits on a 32 bit platform") |
| 59 | } |
| 60 | |
| 61 | pub trait Int: Copy + std::fmt::Debug + Default + Ord + Pod + Send + Sized + Sync { |
| 62 | // Unaligned native endian. TODO could be aligned on big endian since we always have to copy. |