AccessEffect
public enum AccessEffect : UInt8, Codable, Sendable
extension AccessEffect: Comparable
An access effect, specifying how a parameter, receiver, or remote part is accessed.
-
Value is accessed immutably.
Declaration
Swift
case `let` = 1 -
Value is assigned but never read.
Declaration
Swift
case set = 2 -
Value is accessed mutably.
Declaration
Swift
case `inout` = 4 -
Value is consumed.
Declaration
Swift
case sink = 8 -
Value may be accessed with any of the other effects, depending on the context.
Declaration
Swift
case yielded = 16 -
Creates an instance denoting the access granted to a binding introduced with
i.Declaration
Swift
public init(_ i: BindingPattern.Introducer) -
Declaration
Swift
public static func < (l: `Self`, r: `Self`) -> Bool
View on GitHub