Enum kailua_env::source::SourceData [] [src]

pub enum SourceData {
    U8(u8),
    U16(u16),
    EOF,
}

A "character" from iterating a SourceSlice.

Variants

A byte (as in SourceSlice::U8).

A two-byte unit (as in SourceSlice::U16).

The end of file.

Methods

impl SourceData
[src]

Trait Implementations

impl Clone for SourceData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SourceData
[src]

impl PartialEq for SourceData
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SourceData
[src]

impl Debug for SourceData
[src]

Formats the value using the given formatter.