DList.move_to_head

move to head

struct DList(T, Allocator = Mallocator, bool GCRangesAllowed = true)
void
move_to_head
@safe @nogc
(
Node!T* n
)
in { assert (_length > 0); assert (_head !is null && _tail !is null); }
out { assert (_head == n && n.prev is null); }

Meta