pub struct GenerationResult {
pub files: Vec<GeneratedFile>,
pub mod_file: GeneratedFile,
}Expand description
Result of code generation containing multiple files
Fields§
§files: Vec<GeneratedFile>All generated files
mod_file: GeneratedFileGenerated mod.rs content that exports all modules
Trait Implementations§
Source§impl Clone for GenerationResult
impl Clone for GenerationResult
Source§fn clone(&self) -> GenerationResult
fn clone(&self) -> GenerationResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GenerationResult
impl RefUnwindSafe for GenerationResult
impl Send for GenerationResult
impl Sync for GenerationResult
impl Unpin for GenerationResult
impl UnwindSafe for GenerationResult
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