Struct dioxus_cli_config::ApplicationConfig
source · pub struct ApplicationConfig {
pub name: String,
pub default_platform: Platform,
pub out_dir: PathBuf,
pub asset_dir: PathBuf,
pub hot_reload: bool,
pub sub_package: Option<String>,
}Fields§
§name: String§default_platform: Platform§out_dir: PathBuf§asset_dir: PathBuf§hot_reload: bool§sub_package: Option<String>Trait Implementations§
source§impl Clone for ApplicationConfig
impl Clone for ApplicationConfig
source§fn clone(&self) -> ApplicationConfig
fn clone(&self) -> ApplicationConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ApplicationConfig
impl Debug for ApplicationConfig
source§impl<'de> Deserialize<'de> for ApplicationConfig
impl<'de> Deserialize<'de> for ApplicationConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ApplicationConfig
impl RefUnwindSafe for ApplicationConfig
impl Send for ApplicationConfig
impl Sync for ApplicationConfig
impl Unpin for ApplicationConfig
impl UnwindSafe for ApplicationConfig
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