Expand description
Sierra example:
ⓘ
type felt252 = felt252;
type Tuple<felt252, felt252> = Struct<ut@Tuple, felt252, felt252>;
libfunc tuple_construct = struct_construct<Tuple<felt252, felt252>>;
libfunc tuple_deconstruct = struct_deconstruct<Tuple<felt252, felt252>>;
...
felt252_const<0>() -> (felt0);
felt252_const<1>() -> (felt1);
tuple_construct(felt0, felt1) -> (tup);
tuple_deconstruct(tup) -> (felt0, felt1);
Structs§
- Libfunc for constructing a struct.
- Libfunc for deconstructing a struct.
- Libfunc for deconstructing a struct snapshot.
- Type representing a struct.