1 2 3 4 5 6 7 8 9 10 11 12 13
use crate::consume_struct; /// A catch-all clause for consuming. /// /// Most often used with Enums and with the `Either<L, R>` struct. #[derive(Debug, PartialEq)] pub struct CatchAll; consume_struct!( CatchAll => [ > ""; ] );