Totalizable

public protocol Totalizable

Interface for fragment types which can create a fragment version of a whole instance of the type.

Associated Types

  • The type of the given Whole.

    Declaration

    Swift

    associatedtype Whole

Initializers

  • Creates a Totalizable fragment with an instance of the Whole type.

    Declaration

    Swift

    init(whole: Whole)