Welcome to Python-flavored Magnum! Please note that, while already being rather stable, this functionality is still considered experimental and some APIs might get changed without preserving full backwards compatibility.

corrade.containers.MutableArrayView class

Mutable array view

Contents

Equivalent to ArrayView, but implementing __setitem__() as well.

Special methods

def __bytes__(self, /) -> bytes
Convert to bytes
def __getitem__(self, arg0: int, /) -> str
Value at given position
def __getitem__(self, arg0: slice, /) -> object
Slice the view
def __init__(self, /) -> None
Default constructor
def __init__(self, arg0: buffer, /) -> None
Construct from a buffer
def __len__(self, /) -> int
View size
def __setitem__(self, arg0: int, arg1: str, /) -> None
Set a value at given position

Properties

owner: object get
Memory owner object