# Only a variadic parameter or a struct's field holds a pack: no union's field, # local, or binding does, and `...` follows a field's type only where it names # a pack, which takes no default. A field holding a pack is given a pack of its # types. Its values that close are moved out by `...`, or by a literal given # it, so it is then a place that can be written, as is `for const`'s variable # where it writes one. struct bundle { var items: Ts...; } struct noisy : owning { var id: u8; } def noisy::close(&mut this): void {} union either { var items: Ts...; var none: u8; } struct plain { var items: u8...; } struct unwritten { var items: Ts; } struct defaulted { var items: Ts... = 0; } def take(a: noisy, b: noisy): void {} def bundle::spread_out(&this): void { take(...this.items); } def bundle::walk(&this): void { for const x in this.items { x = x; } } def copied(t: &bundle): bundle { return bundle::{ items = t.items }; } def swapped(a: &bundle): bundle { return bundle::{ items = a.items }; } def f(args: Ts...): void { var x: Ts...; val y := args; } def main(): void { var t := bundle::{}; val z := t.items; f(1, 2); t.spread_out(); _ = copied(&t); }