Struggling with destructuring

In several examples in "rust by example" the reader is suggested to work on a solution using destructuring. I've noticed I'm struggling quite a bit wrapping my head around destructuring. Destructuring tuples, structs, or nested destructuring all give me significant problems wrapping my head around them.

Is there anything else I might practice on which does not feel like getting thrown in the deep? I'm looking for a tutorial on destructuring which has a somewhat slower pace, and comes with multiple assignments.

Perhaps learning about pattern matching might help. I think it's a more digestible form of introducing people into patterns.

1 Like

Have you read this chapter in the Book yet? It explains how destructuring is just using patterns in other places.

1 Like

Thanks for the replies. I've read thee chapter and I now understand destructuring a lot more. Thanks!