removeFirst

    Removes and returns the first element of the CircularBuffer.

    CircularBuffer.swift:627
    @discardableResult mutating func removeFirst() -> Element

    Returns

    The removed element.

    The CircularBuffer must not be empty.

    Calling this method may invalidate any existing indices for use with this CircularBuffer.

    Other members in extension

    Types

    Typealiases

    Type members

    Instance members

    Show implementation details (4)

    Hide implementation details