Struct swift_bridge_build::CreatePackageConfig
source · [−]pub struct CreatePackageConfig {
pub bridge_dir: PathBuf,
pub paths: HashMap<ApplePlatform, PathBuf>,
pub out_dir: PathBuf,
pub package_name: String,
}
Expand description
Config for generating Swift packages
Fields
bridge_dir: PathBuf
The directory containing the generated bridges
paths: HashMap<ApplePlatform, PathBuf>
Path per platform. e.g. (ApplePlatform::iOS, "target/aarch64-apple-ios/debug/libmy_rust_lib.a")
out_dir: PathBuf
The directory where the package will be saved
package_name: String
The name for the Swift package
Implementations
Auto Trait Implementations
impl RefUnwindSafe for CreatePackageConfig
impl Send for CreatePackageConfig
impl Sync for CreatePackageConfig
impl Unpin for CreatePackageConfig
impl UnwindSafe for CreatePackageConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more