pub struct AppleSection {
pub min_macos: String,
pub min_ios: String,
pub min_ios_explicit: bool,
pub url_schemes: Vec<String>,
pub usage_descriptions: BTreeMap<String, String>,
pub entitlements: BTreeMap<String, EntitlementValue>,
}Expand description
[apple] section of nativeview.toml.
Fields§
§min_macos: String§min_ios: String§min_ios_explicit: booltrue when [apple].min_ios was explicitly set in nativeview.toml.
url_schemes: Vec<String>§usage_descriptions: BTreeMap<String, String>§entitlements: BTreeMap<String, EntitlementValue>Implementations§
Source§impl AppleSection
impl AppleSection
Sourcepub fn resolved_rn_min_ios(&self) -> &str
pub fn resolved_rn_min_ios(&self) -> &str
Minimum iOS deployment target for React Native rn-pkg exports: defaults to "16.0"
(matching NativeViewReactNative.podspec and Package.swift .iOS(.v16)) unless
[apple].min_ios was explicitly set.
Sourcepub fn resolved_nitro_min_ios(&self) -> &str
pub fn resolved_nitro_min_ios(&self) -> &str
Minimum iOS deployment target for NitroUI nitro-ui-pkg exports: defaults to "16.0"
(matching NitroUI 0.3.0 .nitro/app/Package.swift), and clamps any explicit [apple].min_ios
above 16.0 to "16.0" so SwiftPM’s NitroUIApp ([.iOS(.v16)]) accepts the package.
Trait Implementations§
Source§impl Clone for AppleSection
impl Clone for AppleSection
Source§impl Debug for AppleSection
impl Debug for AppleSection
Source§impl Default for AppleSection
impl Default for AppleSection
impl Eq for AppleSection
Source§impl PartialEq for AppleSection
impl PartialEq for AppleSection
impl StructuralPartialEq for AppleSection
Auto Trait Implementations§
impl Forget for AppleSection
impl Freeze for AppleSectionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
*const LeafNode<String, EntitlementValue> is !null: Freeze,
PhantomData<Box<(String, EntitlementValue)>>: Freeze,
impl Move for AppleSection
impl RefUnwindSafe for AppleSection
impl Send for AppleSection
impl Sync for AppleSection
impl Unpin for AppleSection
impl UnsafeUnpin for AppleSectionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const LeafNode<String, EntitlementValue> is !null: UnsafeUnpin,
PhantomData<Box<(String, EntitlementValue)>>: UnsafeUnpin,
impl UnwindSafe for AppleSectionwhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, EntitlementValue>: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.