pub struct OutputFile {
pub name: String,
pub content: OutputContent,
}Expand description
A single output file.
Fields§
§name: StringSuggested filename (e.g. “output.bin”, “module.ir”).
content: OutputContentThe file content.
Trait Implementations§
Source§impl Clone for OutputFile
impl Clone for OutputFile
Source§fn clone(&self) -> OutputFile
fn clone(&self) -> OutputFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputFile
impl Debug for OutputFile
Auto Trait Implementations§
impl Freeze for OutputFile
impl RefUnwindSafe for OutputFile
impl Send for OutputFile
impl Sync for OutputFile
impl Unpin for OutputFile
impl UnsafeUnpin 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