pub struct CodegenOutput {
pub code: String,
pub warnings: Vec<String>,
}Expand description
Result of code generation
Contains the generated Rust code and any warnings or notes.
Fields§
§code: StringGenerated Rust code
warnings: Vec<String>Any warnings or notes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodegenOutput
impl RefUnwindSafe for CodegenOutput
impl Send for CodegenOutput
impl Sync for CodegenOutput
impl Unpin for CodegenOutput
impl UnwindSafe for CodegenOutput
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