Struct html5ever::tokenizer::BufferQueue []

pub struct BufferQueue { /* fields omitted */ }

A queue of owned string buffers, which supports incrementally consuming characters.

Methods

impl BufferQueue

Create an empty BufferQueue.

Returns whether the queue is empty.

Get the tendril at the beginning of the queue.

Add a buffer to the beginning of the queue.

Add a buffer to the end of the queue.

Look at the next available character, if any.

Get the next character, if one is available.

Pops and returns either a single character from the given set, or a StrTendril of characters none of which are in the set. The set is represented as a bitmask and so can only contain the first 64 ASCII characters.