Documentation
¶
Index ¶
- func Copy[T any](dest Vector[T], src Vector[T]) error
- type Vector
- func (v *Vector[T]) AppendSeq(seq iter.Seq[T])
- func (v Vector[T]) Backward() func(yield func(T) bool)
- func (v Vector[T]) Capacity() int
- func (v *Vector[T]) Clear()
- func (v Vector[T]) IsEmpty() bool
- func (v *Vector[T]) PopBack()
- func (v *Vector[T]) PushBack(element T)
- func (v *Vector[T]) Remove(i int)
- func (v *Vector[T]) Reserve(n int)
- func (v Vector[T]) Size() int
- func (v Vector[T]) Values() func(yield func(T) bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Vector ¶
type Vector[T any] []T
func NewWithCapacity ¶
func NewWithElements ¶
func NewWithSize ¶
Click to show internal directories.
Click to hide internal directories.