DoubleEndedAllocationPolicy

public enum DoubleEndedAllocationPolicy

Describes where the initial insertions into a buffer should go.

  • Begin allocating elements at the beginning of the buffer.

    Declaration

    Swift

    case beginning
  • Begin allocating in the middle of the buffer.

    Declaration

    Swift

    case middle
  • end

    Begin allocating at the end of the buffer.

    Declaration

    Swift

    case end