package core:container/small_array

⌘K
Ctrl+K
or
/

    Index

    Types (1)
    Constants (0)

    This section is empty.

    Variables (0)

    This section is empty.

    Procedure Groups (2)

    Types

    Small_Array ¶

    Small_Array :: struct($N: int = , $T: typeid) where N >= 0 {}
    Related Procedures With Parameters

    Constants

    This section is empty.

    Variables

    This section is empty.

    Procedures

    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

    Source Files

    Generation Information

    Generated with odin version dev-2024-11 (vendor "odin") Windows_amd64 @ 2024-11-16 21:10:09.806657500 +0000 UTC