Struct parser_c::data::input_stream::InputStream
[−]
pub struct InputStream { /* fields omitted */ }
Methods
impl InputStream
[src]
fn from_file(f: &FilePath) -> InputStream
fn from_string(src: String) -> InputStream
fn to_string(self) -> String
fn is_empty(&self) -> bool
fn take_byte(self) -> (u8, InputStream)
fn take_char(self) -> (char, InputStream)
fn take_string(&self, n: isize) -> &str
fn count_lines(self) -> isize
Trait Implementations
impl Clone for InputStream
[src]
fn clone(&self) -> InputStream
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