[][src]Enum polyhorn_cli::ios::xcodegen::Dependency

pub enum Dependency {
    Framework {
        framework: String,
        embed: bool,
    },
}

Represents a dependency of a target. Currently, only frameworks are supported. Note that framework dependencies are also used by xcodegen to refer to static libraries (despite the fact that frameworks are dynamic).

Variants

Framework

Represents a framework dependency.

Fields of Framework

framework: String

Name or path of framework to link.

embed: bool

Whether or not to include a copy of the framework within the app's bundle. This should be false for a static library because it's unnecessary to include the lib*.a file in the bundle and additionally, Apple might reject apps that do ship static libraries that are not linked to the executable.

Trait Implementations

impl Clone for Dependency[src]

impl Debug for Dependency[src]

impl<'de> Deserialize<'de> for Dependency[src]

impl Eq for Dependency[src]

impl PartialEq<Dependency> for Dependency[src]

impl Serialize for Dependency[src]

impl StructuralEq for Dependency[src]

impl StructuralPartialEq for Dependency[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,