Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyRustenums and data variantsSingle-choice MCQ

How much memory does a value of this enum occupy compared to its largest variant's data?

enum Value { Nothing, Number(f64), Pair(u8, u8), }