Enum fileinput::Source [] [src]

pub enum Source {
    Stdin,
    File(String),
}

A file source.

Variants

Read from the process's standard in.

Read from the specified file.

Trait Implementations

impl Debug for Source
[src]

Formats the value using the given formatter.

impl Eq for Source
[src]

impl PartialEq for Source
[src]

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

This method tests for !=.

impl Clone for Source
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more