pub struct TranspileResult {
pub c_file: PathBuf,
pub h_file: Option<PathBuf>,
pub stdout: String,
}Expand description
Result of WebAssembly-to-C transpilation
Fields§
§c_file: PathBufPath to generated .c file
h_file: Option<PathBuf>Path to generated .h file (if created)
stdout: Stringstdout from w2c2
Trait Implementations§
Source§impl Clone for TranspileResult
impl Clone for TranspileResult
Source§fn clone(&self) -> TranspileResult
fn clone(&self) -> TranspileResult
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 moreAuto Trait Implementations§
impl Freeze for TranspileResult
impl RefUnwindSafe for TranspileResult
impl Send for TranspileResult
impl Sync for TranspileResult
impl Unpin for TranspileResult
impl UnsafeUnpin for TranspileResult
impl UnwindSafe for TranspileResult
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