Options.init(from:)
Creates a new instance by decoding from the given decoder, when the type's RawValue is UInt8.
Source and package
- Qualified name
-
RegexPattern .Options. init(from:) - Module
- RegexPattern
- Declared in
Options- Package
- libtmux-swift
-
Inherited from
RawRepresentable.init(from:)Description#
This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
- Parameter decoder: The decoder to read data from.