SwiftprotocolAttributeGraph

protocol AttributeGraph.Rule

Members 10

  1. funcstatic AttributeGraph.Rule< where A: Hashable>._cachedValue(options: AGCachedValueOptions, owner: AGAttribute?, hashValue: Int, bodyPtr: UnsafeRawPointer, update: () -> (UnsafeMutableRawPointer, AGAttribute) -> ()) -> UnsafePointer<A.Rule.Value>
  2. funcstatic _update(_: UnsafeMutableRawPointer, attribute: AGAttribute) -> ()
  3. funcstatic _updateDefault(UnsafeMutableRawPointer) -> ()
  4. varstatic var initialValue: A.Value? { get }
  5. associatedtypeassociatedtype Value
  6. funcAttributeGraph.Rule< where A: Hashable>.cachedValue(options: AGCachedValueOptions, owner: AGAttribute?) -> A.Rule.Value
  7. funcAttributeGraph.Rule< where A: Hashable>.cachedValueIfExists(options: AGCachedValueOptions, owner: AGAttribute?) -> A.Rule.Value?
  8. varvar attribute: AttributeGraph.Attribute<A.Value> { get }
  9. varvar context: AttributeGraph.RuleContext<A.Value> { get }
  10. varvar value: A.Value { get }
protocol Rule: AttributeGraph._AttributeBody {
    associatedtype Value

    var value: Self.Value {
        get
    }

    static var initialValue: Self.Value? {
        get
    }
}
extension AttributeGraph.Rule {
    var attribute: AttributeGraph.Attribute<Self.Value> {
        get
    }
    var context: AttributeGraph.RuleContext<Self.Value> {
        get
    }

    func cachedValue(options: __C.AGCachedValueOptions, owner: __C.AGAttribute?) -> Self.Value where Self: Swift.Hashable
    func cachedValueIfExists(options: __C.AGCachedValueOptions, owner: __C.AGAttribute?) -> Self.Value? where Self: Swift.Hashable

    static var initialValue: Self.Value? {
        get
    }

    static func _updateDefault(_: Swift.UnsafeMutableRawPointer)
    static func _update(_: Swift.UnsafeMutableRawPointer, attribute: __C.AGAttribute)
    static func _cachedValue(options: __C.AGCachedValueOptions, owner: __C.AGAttribute?, hashValue: Swift.Int, bodyPtr: Swift.UnsafeRawPointer, update: () -> (Swift.UnsafeMutableRawPointer, __C.AGAttribute) -> ()) -> Swift.UnsafePointer<Self.Value> where Self: Swift.Hashable
}