Enum calyx_utils::OutputFile
source · [−]Expand description
Possible choices for output streams. Used by the -o
option to the compiler.
- “-” and “
” are treated as stdout. - “
” is treated as stderr. - “
” is treated as a null output stream. - All other strings are treated as file paths.
Variants
Null
Stdout
Stderr
File
Implementations
sourceimpl OutputFile
impl OutputFile
Trait Implementations
sourceimpl Clone for OutputFile
impl Clone for OutputFile
sourcefn clone(&self) -> OutputFile
fn clone(&self) -> OutputFile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OutputFile
impl Debug for OutputFile
sourceimpl FromStr for OutputFile
impl FromStr for OutputFile
Auto Trait Implementations
impl RefUnwindSafe for OutputFile
impl Send for OutputFile
impl Sync for OutputFile
impl Unpin for OutputFile
impl UnwindSafe for OutputFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more