Enum calyx_utils::OutputFile
source · pub enum OutputFile {
Stdout,
File(PathBuf),
}
Expand description
Possible choices for output streams.
Used by the -o
option to the compiler.
Variants§
Implementations§
source§impl OutputFile
impl OutputFile
pub fn as_path_string(&self) -> String
Trait Implementations§
source§impl Debug for OutputFile
impl Debug for OutputFile
source§impl Default for OutputFile
impl Default for OutputFile
source§fn default() -> OutputFile
fn default() -> OutputFile
Returns the “default value” for a type. Read more
source§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more