SwiftstructMeasureFoundation
struct MeasureFoundation.RingBuffer
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.BidirectionalCollection
- protocolSwift.Collection
- protocolSwift.CustomStringConvertible
- protocolSwift.RandomAccessCollection
- protocolSwift.Sequence
Members 28
- field
let capacity: Int+0x0 - field
var indexOffset: Int+0x8 - field
var storage: [A]+0x10 - func
append(A) -> () - func
MeasureFoundation.RingBuffer<A where A == Float>.average() -> Float - func
MeasureFoundation.RingBuffer<A where A == SIMD3<Float>>.average() -> SIMD3<Float> - func
clear() -> () - func
index(after: Int) -> Int - init
init(capacity: Int) -> MeasureFoundation.RingBuffer<A> - subscript
subscript.getter : (Int) -> A - typealias
typealias Element = A - typealias
typealias Element = A - typealias
typealias Element = A - typealias
typealias Element = A - typealias
typealias Index = Swift.Int - typealias
typealias Index = Swift.Int - typealias
typealias Index = Swift.Int - typealias
typealias Indices = Swift.Range<Swift.Int> - typealias
typealias Indices = Swift.Range<Swift.Int> - typealias
typealias Indices = Swift.Range<Swift.Int> - typealias
typealias Iterator = Swift.IndexingIterator<MeasureFoundation.RingBuffer<A>> - typealias
typealias Iterator = Swift.IndexingIterator<MeasureFoundation.RingBuffer<A>> - typealias
typealias SubSequence = Swift.Slice<MeasureFoundation.RingBuffer<A>> - typealias
typealias SubSequence = Swift.Slice<MeasureFoundation.RingBuffer<A>> - typealias
typealias SubSequence = Swift.Slice<MeasureFoundation.RingBuffer<A>> - var
var description: String { get } - var
var endIndex: Int { get } - var
var startIndex: Int { get }
Header
struct RingBuffer<A> { let capacity: Swift.Int var indexOffset: Swift.Int var storage: [A] init(capacity: Swift.Int) var endIndex: Swift.Int { get } var startIndex: Swift.Int { get } func clear() func index(after: Swift.Int) -> Swift.Int func append(_: A) subscript(_: Swift.Int) -> A { get set } }