Struct swift_bridge_build::GeneratedCode
source · pub struct GeneratedCode { /* private fields */ }
Expand description
Generated Swift files and C headers.
Implementations§
source§impl GeneratedCode
impl GeneratedCode
sourcepub fn write_all_concatenated(
&self,
swift_bridge_out_dir: impl AsRef<Path>,
crate_name: &str
)
pub fn write_all_concatenated(
&self,
swift_bridge_out_dir: impl AsRef<Path>,
crate_name: &str
)
Write all of the generated Swift to a single Swift file and all of the generated C headers to a single header file.
sourcepub fn concat_swift(&self) -> String
pub fn concat_swift(&self) -> String
Concatenate all of the generated Swift code into one file.