cairo_lang_semantic::expr

Module pattern

Source

Structs§

Enums§

  • Semantic representation of a Pattern. A pattern is a way to “destructure” values. A pattern may introduce new variables that are bound to inner values of a specific value. For example, a tuple pattern destructures a tuple and may result in new variables for an elements of that tuple. This is used both in let statements and match statements.

Traits§