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.
Auto Trait Implementations§
impl Freeze for GeneratedCode
impl RefUnwindSafe for GeneratedCode
impl Send for GeneratedCode
impl Sync for GeneratedCode
impl Unpin for GeneratedCode
impl UnwindSafe for GeneratedCode
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