pub struct IosProjectSpec {
pub config: FerryConfig,
pub binary_name: String,
pub assets: Option<ProjectAssets>,
pub asset_packaging: IosAssetPackaging,
}Expand description
Inputs for deterministic hidden Xcode project generation.
Fields§
§config: FerryConfigValidated application configuration.
binary_name: StringCargo binary copied to the app’s executable location.
assets: Option<ProjectAssets>Validated project icon and splash inputs, when generating a build host.
asset_packaging: IosAssetPackagingAsset representation emitted into the hidden Xcode project.
Implementations§
Source§impl IosProjectSpec
impl IosProjectSpec
Sourcepub fn new(config: FerryConfig, binary_name: impl Into<String>) -> Self
pub fn new(config: FerryConfig, binary_name: impl Into<String>) -> Self
Construct a project specification.
Sourcepub fn with_assets(self, assets: ProjectAssets) -> Self
pub fn with_assets(self, assets: ProjectAssets) -> Self
Attach validated project image assets to the generated host.
Sourcepub fn with_asset_packaging(self, asset_packaging: IosAssetPackaging) -> Self
pub fn with_asset_packaging(self, asset_packaging: IosAssetPackaging) -> Self
Select the generated Xcode project’s asset representation.
Trait Implementations§
Source§impl Clone for IosProjectSpec
impl Clone for IosProjectSpec
Source§impl Debug for IosProjectSpec
impl Debug for IosProjectSpec
Source§impl PartialEq for IosProjectSpec
impl PartialEq for IosProjectSpec
impl StructuralPartialEq for IosProjectSpec
Auto Trait Implementations§
impl Freeze for IosProjectSpec
impl RefUnwindSafe for IosProjectSpec
impl Send for IosProjectSpec
impl Sync for IosProjectSpec
impl Unpin for IosProjectSpec
impl UnsafeUnpin for IosProjectSpec
impl UnwindSafe for IosProjectSpec
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