unsafe class ReadWritePartView<T>The ReadWritePartView type is a read-write view into a PartList<T> chunk.
ReadWritePartView is in the Prelude, meaning it is always available and does not need to be imported.
This type is subscriptable and iterable.
get(idx: int) -> TGets the element at index idx in this view.
set(idx: int, elem: T) -> voidSets the element at index idx in this view to elem.
readableSize() -> intReturns the number of elements that can be read from this view.
writableSize() -> intReturns the number of elements that can be written to this view.
begin() -> intReturns the relative starting index of this view, where 0 is the first non-ghost element.
end() -> intReturns the relative ending index (exclusive) of this view, where 0 is the first non-ghost element.
srcBegin() -> intReturns the absolute starting index of this view within its source PartList.
srcEnd() -> intReturns the absolute ending index (exclusive) of this view within its source PartList.
partNum() -> intReturns this view's partition number.
src() -> PartList<T>Returns the source PartList that this view references.