Skip to main content
Log in

Mojo struct

IntArray

@register_passable struct IntArray

Implemented traits

AnyType, UnknownDestructibility

Methods

__init__

__init__(size: Int = 0) -> Self

__init__(*, non_owned: Self, offset: Int = 0) -> Self

__copyinit__

__copyinit__(existing: Self) -> Self

__del__

__del__(owned self)

__getitem__

__getitem__(self, idx: Int) -> Int

__setitem__

__setitem__(mut self, idx: Int, value: Int)

owning

owning(self) -> Bool

size

size(self) -> Int

copy_from

copy_from(mut self, offset: Int, source: Self, size: Int)