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-square3fedilinkarrow-up14arrow-down10
arrow-up14arrow-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-square3fedilink