MotokEkb@lemmy.world to Rust Programming@lemmy.mlEnglish · 1 year agoHow can I limit a number to a certain range in a struct/enum definition?plus-squaremessage-squaremessage-square2fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1message-squareHow can I limit a number to a certain range in a struct/enum definition?plus-squareMotokEkb@lemmy.world to Rust Programming@lemmy.mlEnglish · 1 year agomessage-square2fedilink