URL.FormatStyle.Component
An enumeration of the components of a URL, for use in creating format style options that depend on a component’s value.
Declaration
enum ComponentOverview
You use this type with style-modifying methods like displayWhen(_:matches:) in URL.FormatStyle.ComponentDisplayOption and omitWhen(_:matches:) in URL.FormatStyle.HostDisplayOption.