STRUCT
Options.CheckedAllocations
Contents
- Properties
enabledrequiresHardwareAcceleration
- Methods
init(enabled:requiresHardwareAcceleration:)off()onWhenSupported()onWhenSupportedFallBackToGuardMalloc()
swift
public struct CheckedAllocations: Codable, Hashable, SendableHardware Memory Tagging
Properties
enabled
swift
public var enabled: BoolrequiresHardwareAcceleration
swift
public var requiresHardwareAcceleration: BoolMethods
init(enabled:requiresHardwareAcceleration:)
swift
public init(enabled: Bool = true, requiresHardwareAcceleration: Bool)off()
swift
public static func off() -> SelfOff
onWhenSupported()
swift
public static func onWhenSupported() -> SelfOn (when supported)
onWhenSupportedFallBackToGuardMalloc()
swift
public static func onWhenSupportedFallBackToGuardMalloc() -> SelfOn (when supported), fall back to Guard Malloc otherwise
