Enum kailua_env::source::SourceData
[−]
[src]
pub enum SourceData { U8(u8), U16(u16), EOF, }
A "character" from iterating a SourceSlice
.
Variants
U8(u8)
A byte (as in SourceSlice::U8
).
U16(u16)
A two-byte unit (as in SourceSlice::U16
).
EOF
The end of file.
Methods
impl SourceData
[src]
Trait Implementations
impl Clone for SourceData
[src]
fn clone(&self) -> SourceData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for SourceData
[src]
impl PartialEq for SourceData
[src]
fn eq(&self, __arg_0: &SourceData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SourceData) -> bool
This method tests for !=
.