12345678910111213141516171819 |
- use steel::*;
- #[repr(u8)]
- #[derive(Clone, Copy, Debug, Eq, PartialEq, TryFromPrimitive)]
- pub enum SteelInstruction {
- SetFavorites = 0,
- }
- #[repr(C)]
- #[derive(Clone, Copy, Debug, Pod, Zeroable)]
- pub struct SetFavorites {
- pub number: [u8; 8],
- pub color: [u8; 32],
- pub hobbies: [[u8; 32]; 3],
- }
- instruction!(SteelInstruction, SetFavorites);
|