pub fn is_file(&self) -> bool {
        match self {
            IoArg::StdStream => false,
            IoArg::File(_) => true,
        }
    }
/// Intended for use in an `if` expression or other situations there a boolean might be more
/// convinient than matching against variants.
///
/// # Return
///
/// `true` if variant is `File`.
/// `false` if variant is `StdStream`.

Intended for use in an `if` expression or other situations there a boolean might be more
convinient than matching against variants.
Intended for use in an ` if ` expression or other situations there a boolean might be more convinient than matching against variants .
pub fn is_file(&self) -> bool {
        match self {
            IoArg::StdStream => false,
            IoArg::File(_) => true,
        }
    }
pub fn is_file ( & self ) -> bool { match self { IoArg :: StdStream => false , IoArg :: File ( _ ) => true , } }
Intended for use in an `if` expression or other situations there a boolean might be more
convinient than matching against variants.
Intended for use in an ` if ` expression or other situations there a boolean might be more convinient than matching against variants .
`true` if variant is `File`.
`false` if variant is `StdStream`.
` true ` if variant is ` File ` . ` false ` if variant is ` StdStream ` .
&self