pub struct GenerationResult {
pub files: HashMap<String, String>,
pub warnings: Vec<Warning>,
pub file_hashes: HashMap<String, String>,
}Expand description
Result of code generation
Fields§
§files: HashMap<String, String>Map of relative path -> file content
warnings: Vec<Warning>Warnings encountered during generation
file_hashes: HashMap<String, String>Map of relative path -> content hash (for cache invalidation)
Auto Trait Implementations§
impl Freeze for GenerationResult
impl RefUnwindSafe for GenerationResult
impl Send for GenerationResult
impl Sync for GenerationResult
impl Unpin for GenerationResult
impl UnsafeUnpin 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