pub struct BuildOptions {
pub app_dir: PathBuf,
pub entry: String,
pub css: CssStrategy,
pub dom: DomStrategy,
pub plugin: Option<Plugin>,
pub components: Vec<String>,
}Expand description
Options for building a WebUI application.
Fields§
§app_dir: PathBufPath to the application folder containing templates.
entry: StringEntry HTML file name (e.g., "index.html").
css: CssStrategyCSS delivery strategy for component stylesheets.
dom: DomStrategyDOM strategy for component rendering (shadow or light).
plugin: Option<Plugin>Framework plugin to load.
components: Vec<String>Additional component sources (npm packages or local paths).
Trait Implementations§
Source§impl Clone for BuildOptions
impl Clone for BuildOptions
Source§fn clone(&self) -> BuildOptions
fn clone(&self) -> BuildOptions
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for BuildOptions
impl RefUnwindSafe for BuildOptions
impl Send for BuildOptions
impl Sync for BuildOptions
impl Unpin for BuildOptions
impl UnsafeUnpin for BuildOptions
impl UnwindSafe for BuildOptions
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