pub struct CompileOutput {
pub rust_code: String,
pub dependencies: Vec<CrateDependency>,
pub c_header: Option<String>,
pub python_bindings: Option<String>,
pub typescript_types: Option<String>,
pub typescript_bindings: Option<String>,
}Expand description
Full compilation output including generated Rust code and extracted dependencies.
Fields§
§rust_code: String§dependencies: Vec<CrateDependency>§c_header: Option<String>Generated C header content (populated when C exports exist).
python_bindings: Option<String>Generated Python ctypes bindings (populated when C exports exist).
typescript_types: Option<String>Generated TypeScript type declarations (.d.ts content, populated when C exports exist).
typescript_bindings: Option<String>Generated TypeScript FFI bindings (.js content, populated when C exports exist).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompileOutput
impl RefUnwindSafe for CompileOutput
impl Send for CompileOutput
impl Sync for CompileOutput
impl Unpin for CompileOutput
impl UnwindSafe for CompileOutput
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