Initializerswift 6.0.3FoundationEssentials
init(from:)
- iOS
- 17+
- macOS
- 14+
- tvOS
- 17+
- watchOS
- 10+
init(from decoder: any Decoder) throws
init(from decoder: any Decoder) throws
s20FoundationEssentials20PredicateExpressionsO24CollectionRangeSubscriptVAASeRzSERzSeR_SER_rlE4fromAEy_xq_Gs7Decoder_p_tKcfc
What are these?TYBF
where Range:PredicateExpression, Range:Encodable, Range:Decodable, Range.Output == Range<Wrapped.Output.Index>, Wrapped:PredicateExpression, Wrapped:Encodable, Wrapped:Decodable, Wrapped.Output:Collection
import FoundationEssentials
struct CollectionRangeSubscript<Wrapped, Range> where Wrapped : PredicateExpression, Range : PredicateExpression, Wrapped.Output : Collection, Range.Output == Range<Wrapped.Output.Index>
@frozen enum PredicateExpressions
protocol Decoder
A type that can decode values from a native format into in-memory representations.
protocol PredicateExpression<Output>
protocol Encodable
A type that can encode itself to an external representation.
protocol Decodable
A type that can decode itself from an external representation.
@frozen struct Range<Bound> where Bound : Comparable
A half-open interval from a lower bound up to, but not including, an upper bound.
protocol Collection<Element> : Sequence
A sequence whose elements can be traversed multiple times, nondestructively, and accessed by an indexed subscript.
func encode(to encoder: any Encoder) throws