Rho Rho language and toolchain

std.collections.array

The module module std.collections.array, read from deploy/std/collections/array.rho. This page is generated from the source, so it describes what the code declares.

Functions

as_slice()

fn as_slice[T, N](a: Array[T, N]) Slice[T]

get()

fn get[T, N](a: Array[T, N], i: u32) T

set()

fn set[T, N](a: Array[T, N], i: u32, v: T) void

Structs

StructFields
Array[T, N]data: Ptr[T]