[][src]Struct polyhorn_cli::Config

pub struct Config {
    pub manifest_dir: PathBuf,
    pub manifest_path: PathBuf,
    pub target_dir: PathBuf,
    pub spec: Spec,
}

Contains a configuration that is passed to the implementation of each (relevant) CLI command. A notable exception is polyhorn new, which doesn't require a pre-existing Polyhorn.toml manifest file.

Fields

manifest_dir: PathBuf

Contains the path of the directory that stores the Polyhorn.toml file.

manifest_path: PathBuf

Contains the path of the Polyhorn.toml file itself.

target_dir: PathBuf

Contains the path of the directory that build products should be written to.

spec: Spec

Contains the specification that is read from the Polyhorn.toml file.

Trait Implementations

impl Debug for Config[src]

Auto Trait Implementations

impl RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument 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, 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>,