Enum guppy::graph::cargo::InitialsPlatform[][src]

pub enum InitialsPlatform {
    Host,
    Standard,
    ProcMacrosOnTarget,
}

For a given Cargo build simulation, what platform to assume the initials are being built on.

Variants

Host

Assume that the initials are being built on the host platform.

This is most useful for "continuing" simulations, where it is already known that some packages are being built on the host and one wishes to find their dependencies.

Standard

Assume a standard build.

In this mode, all initials other than proc-macros are built on the target platform. Proc- macros, being compiler plugins, are built on the host.

This is the default for InitialsPlatform.

ProcMacrosOnTarget

Perform a standard build, and also build proc-macros on the target.

Proc-macro crates may include tests, which are run on the target platform. This option is most useful for such situations.

Trait Implementations

impl Arbitrary for InitialsPlatform[src]

type Parameters = ()

The type of parameters that arbitrary_with accepts for configuration of the generated Strategy. Parameters must implement Default. Read more

type Strategy = TupleUnion<((u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>))>

The type of Strategy used to generate values of type Self. Read more

impl Clone for InitialsPlatform[src]

impl Copy for InitialsPlatform[src]

impl Debug for InitialsPlatform[src]

impl Default for InitialsPlatform[src]

The default for InitialsPlatform: the Standard option.

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

impl Eq for InitialsPlatform[src]

impl From<InitialsPlatformSummary> for InitialsPlatform[src]

impl Hash for InitialsPlatform[src]

impl PartialEq<InitialsPlatform> for InitialsPlatform[src]

impl Serialize for InitialsPlatform[src]

impl StructuralEq for InitialsPlatform[src]

impl StructuralPartialEq for InitialsPlatform[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<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync
[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<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

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

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>,