Enum ptree::print_config::OutputKind [−][src]
pub enum OutputKind { Stdout, Unknown, }
Enumeration of output kinds
Standard output is treated differently because we can query whether it is a TTY or not.
Variants
Stdout
The program's standard output
Unknown
The actual output is not known
Trait Implementations
impl Debug for OutputKind
[src]
impl Debug for OutputKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for OutputKind
[src]
impl Clone for OutputKind
fn clone(&self) -> OutputKind
[src]
fn clone(&self) -> OutputKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for OutputKind
[src]
impl Copy for OutputKind
impl PartialEq for OutputKind
[src]
impl PartialEq for OutputKind
fn eq(&self, other: &OutputKind) -> bool
[src]
fn eq(&self, other: &OutputKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for OutputKind
[src]
impl Eq for OutputKind
Auto Trait Implementations
impl Send for OutputKind
impl Send for OutputKind
impl Sync for OutputKind
impl Sync for OutputKind