Struct quad_compat_rhai::MultiInputsStream[][src]

pub struct MultiInputsStream<'a> {
    pub buf: Option<char>,
    pub index: usize,
    pub streams: StaticVec<Peekable<Chars<'a>>>,
}
Expand description

(internals) A type that implements the InputStream trait. Exported under the internals feature only.

Multiple character streams are jointed together to form one single stream.

Fields

buf: Option<char>

Buffered character, if any.

index: usize

The current stream index.

streams: StaticVec<Peekable<Chars<'a>>>

The input character streams.

Trait Implementations

Un-get a character back into the InputStream. The next get_next or peek_next will return this character instead. Read more

Get the next character from the InputStream.

Peek the next character in the InputStream.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.