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-up11arrow-down10
arrow-up11arrow-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