pub enum CodegenOutcome {
InMemory(String),
Files(Vec<GeneratedAsset>),
}Expand description
Output of the engine run
Variants§
InMemory(String)
Generated code that should be printed to stdout (no file requested)
Files(Vec<GeneratedAsset>)
Files that were written to disk
Trait Implementations§
Source§impl Clone for CodegenOutcome
impl Clone for CodegenOutcome
Source§fn clone(&self) -> CodegenOutcome
fn clone(&self) -> CodegenOutcome
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 CodegenOutcome
impl Debug for CodegenOutcome
Auto Trait Implementations§
impl Freeze for CodegenOutcome
impl RefUnwindSafe for CodegenOutcome
impl Send for CodegenOutcome
impl Sync for CodegenOutcome
impl Unpin for CodegenOutcome
impl UnsafeUnpin for CodegenOutcome
impl UnwindSafe for CodegenOutcome
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