Day 18 of #100DaysOfSwiftUI: learning new syntax

It’s not immediately obvious why the syntax differs between the following two modifiers:

.keyboardType(.decimalPad)

.pickerStyle(SegmentedPickerStyle())

Yeah, enum vs struct, I am sure it will become clear, but…