package core:container/small_array
⌘K
Ctrl+K
or
/
Index
Types (1)
Constants (0)
This section is empty.
Variables (0)
This section is empty.
Types
Small_Array ¶
Small_Array :: struct($N: int = , $T: typeid) where N >= 0 {}
Related Procedures With Parameters
- clear
- consume
- get
- get_ptr
- get_ptr_safe
- get_safe
- inject_at
- ordered_remove
- pop_back
- pop_back_safe
- pop_front
- pop_front_safe
- push_back
- push_back_elems
- push_front
- set
- slice
- unordered_remove
- append (procedure groups)
- push (procedure groups)
Constants
This section is empty.
Variables
This section is empty.
Procedures
append_elem ¶
append_elem :: push_back
append_elems ¶
append_elems :: push_back_elems
cap ¶
cap :: proc "contextless" (a: $A/Small_Array) -> int {…}
clear ¶
clear :: proc "contextless" (a: ^$A/Small_Array($N, $T)) {…}
consume ¶
consume :: proc(a: ^$A/Small_Array($N, $T), count: int, loc := #caller_location) {…}
get ¶
get :: proc "contextless" (a: $A/Small_Array($N, $T), index: int) -> $T {…}
get_ptr ¶
get_ptr :: proc "contextless" (a: ^$A/Small_Array($N, $T), index: int) -> ^$T {…}
get_ptr_safe ¶
get_ptr_safe :: proc(a: ^$A/Small_Array($N, $T), index: int) -> (^$T, bool) {…}
get_safe ¶
get_safe :: proc(a: $A/Small_Array($N, $T), index: int) -> ($T, bool) {…}
inject_at ¶
inject_at :: proc "contextless" (a: ^$A/Small_Array($N, $T), item: $T, index: int) -> bool {…}
len ¶
len :: proc "contextless" (a: $A/Small_Array) -> int {…}
ordered_remove ¶
ordered_remove :: proc "contextless" (a: ^$A/Small_Array($N, $T), index: int, loc := #caller_location) {…}
pop_back ¶
pop_back :: proc(a: ^$A/Small_Array($N, $T), loc := #caller_location) -> $T {…}
pop_back_safe ¶
pop_back_safe :: proc "contextless" (a: ^$A/Small_Array($N, $T)) -> (item: $T, ok: bool) {…}
pop_front ¶
pop_front :: proc(a: ^$A/Small_Array($N, $T), loc := #caller_location) -> $T {…}
pop_front_safe ¶
pop_front_safe :: proc "contextless" (a: ^$A/Small_Array($N, $T)) -> (item: $T, ok: bool) {…}
push_back ¶
push_back :: proc "contextless" (a: ^$A/Small_Array($N, $T), item: $T) -> bool {…}
push_back_elems ¶
push_back_elems :: proc "contextless" (a: ^$A/Small_Array($N, $T), .. items: ..$T) -> bool {…}
push_front ¶
push_front :: proc "contextless" (a: ^$A/Small_Array($N, $T), item: $T) -> bool {…}
resize ¶
resize :: proc "contextless" (a: ^$A/Small_Array, length: int) {…}
set ¶
set :: proc "contextless" (a: ^$A/Small_Array($N, $T), index: int, item: $T) {…}
slice ¶
slice :: proc "contextless" (a: ^$A/Small_Array($N, $T)) -> []$T {…}
space ¶
space :: proc "contextless" (a: $A/Small_Array) -> int {…}
unordered_remove ¶
unordered_remove :: proc "contextless" (a: ^$A/Small_Array($N, $T), index: int, loc := #caller_location) {…}
Procedure Groups
append ¶
append :: proc{ push_back, push_back_elems, }
push ¶
push :: proc{ push_back, push_back_elems, }
Source Files
Generation Information
Generated with odin version dev-2024-12 (vendor "odin") Windows_amd64 @ 2024-12-17 21:11:00.929908500 +0000 UTC