moveFront
fn
ElementType!R moveFront(R)(R r)Moves the front of r out and returns it.
If r.front is a struct with a destructor or copy constructor defined, it is reset to its .init value after its value is moved. Otherwise, it is left unchanged.
In either case, r.front is left in a destroyable state that does not allocate any resources.