Struct DList

Double linked list

struct DList(T, Allocator, bool GCRangesAllowed = true) ;

Methods

NameDescription
clear remove all items from list
head head node
insert_first insert item at list front
insert_last insert item at list back.
length Number of items in list
move_to_head move to head
move_to_tail move node to tail
popBack pop last item.
popFront pop front item.
range Iterator over items
remove remove node by pointer. (safe until pointer is correct)
tail Tail node

Inner structs

NameDescription
Node

Aliases

NameDescription
insertBack insert item at list back.
insertFront insert item at list front