BasicSector

Basic implementation of a SectorType

Constructors

this
this(T[] data)
Undocumented in source.

Members

Functions

opDollar
size_t opDollar()

Obtains this sector's length

opIndex
T opIndex(size_t idx)

Ontains the element at the given index

opIndexAssign
void opIndexAssign(T value, size_t index)

Set something at an index

opSlice
T[] opSlice(size_t start, size_t end)

Returns a slice of this sector between the given bounds

opSlice
T[] opSlice()

Ontains a slice of the entire sector

Properties

length
size_t length [@property getter]

Obtains this sector's length

length
size_t length [@property setter]

Sets the new size of this sector's internal buffer

Static functions

make
BasicSector!(T) make(T[] data)

Constructs a new BasicSector

Meta