[][src]Struct dioxus_cli::config::Config

pub struct Config {
    pub out_dir: PathBuf,
    pub crate_dir: PathBuf,
    pub workspace_dir: PathBuf,
    pub target_dir: PathBuf,
    pub static_dir: PathBuf,
    pub manifest: Manifest<Value>,
    pub executable: ExecutableType,
}

Fields

out_dir: PathBufcrate_dir: PathBufworkspace_dir: PathBuftarget_dir: PathBufstatic_dir: PathBufmanifest: Manifest<Value>executable: ExecutableType

Implementations

impl Config[src]

pub fn new() -> Result<Self>[src]

pub fn as_example(&mut self, example_name: String) -> &mut Self[src]

pub fn with_build_options(&mut self, options: &BuildOptions)[src]

pub fn with_develop_options(&mut self, options: &DevelopOptions)[src]

Trait Implementations

impl Clone for Config[src]

impl Debug for Config[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CloneAny for T where
    T: Clone + Any

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