pub struct InitEnv {
pub app_dir: PathBuf,
pub app_id: String,
pub headless: bool,
pub hot_reload: bool,
}Expand description
What every module in a set is told about the app.
Fields§
§app_dir: PathBufThe app directory.
app_id: StringThe app’s id.
headless: boolWhether the app runs without a window.
hot_reload: boolWhether the app was started with hot reload on.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InitEnv
impl RefUnwindSafe for InitEnv
impl Send for InitEnv
impl Sync for InitEnv
impl Unpin for InitEnv
impl UnsafeUnpin for InitEnv
impl UnwindSafe for InitEnv
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.