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

How do you bind the inner value when matching this enum variant that holds data?

enum Event { Click { x: i32, y: i32 }, Scroll(i32), }