package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Dec 22, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Vector[T any] struct {
Size int
Capacity int
Data *T
}
Vector is a representation of ImVector from Dear ImGui.
func NewVectorFromC[T any, CINT ~int32](size, capacity CINT, data *T) Vector[T]
func (v Vector[T]) Slice() []T
Slice converts a Vector to a slice []T.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.