pub struct WebBuildConfig { /* private fields */ }Expand description
Configuration for pure-Rust WebAssembly zero-JS, raw-WASM, and theme-variant builds.
Implementations§
Source§impl WebBuildConfig
impl WebBuildConfig
pub fn get_repo_root(&self) -> &PathBuf
pub fn get_mut_repo_root(&mut self) -> &mut PathBuf
pub fn set_repo_root(&mut self, val: PathBuf) -> &mut Self
pub fn get_package(&self) -> &String
pub fn get_mut_package(&mut self) -> &mut String
pub fn set_package(&mut self, val: String) -> &mut Self
pub fn get_out_dir(&self) -> &PathBuf
pub fn get_mut_out_dir(&mut self) -> &mut PathBuf
pub fn set_out_dir(&mut self, val: PathBuf) -> &mut Self
pub fn get_base_url(&self) -> &String
pub fn get_mut_base_url(&mut self) -> &mut String
pub fn set_base_url(&mut self, val: String) -> &mut Self
pub fn get_title(&self) -> &String
pub fn get_mut_title(&mut self) -> &mut String
pub fn set_title(&mut self, val: String) -> &mut Self
pub fn get_version(&self) -> String
pub fn try_get_version(&self) -> &Option<String>
pub fn get_mut_version(&mut self) -> &mut Option<String>
pub fn set_version(&mut self, val: Option<String>) -> &mut Self
pub fn get_icon_path(&self) -> PathBuf
pub fn try_get_icon_path(&self) -> &Option<PathBuf>
pub fn get_mut_icon_path(&mut self) -> &mut Option<PathBuf>
pub fn set_icon_path(&mut self, val: Option<PathBuf>) -> &mut Self
pub fn get_archive_path(&self) -> PathBuf
pub fn try_get_archive_path(&self) -> &Option<PathBuf>
pub fn get_mut_archive_path(&mut self) -> &mut Option<PathBuf>
pub fn set_archive_path(&mut self, val: Option<PathBuf>) -> &mut Self
pub fn get_features(&self) -> &Vec<String>
pub fn get_mut_features(&mut self) -> &mut Vec<String>
pub fn set_features(&mut self, val: Vec<String>) -> &mut Self
pub fn get_no_default_features(&self) -> bool
pub fn get_mut_no_default_features(&mut self) -> &mut bool
pub fn set_no_default_features(&mut self, val: bool) -> &mut Self
pub fn get_release(&self) -> bool
pub fn get_mut_release(&mut self) -> &mut bool
pub fn set_release(&mut self, val: bool) -> &mut Self
pub fn get_skip_wasm_opt(&self) -> bool
pub fn get_mut_skip_wasm_opt(&mut self) -> &mut bool
pub fn set_skip_wasm_opt(&mut self, val: bool) -> &mut Self
pub fn get_raw_wasm(&self) -> bool
pub fn get_mut_raw_wasm(&mut self) -> &mut bool
pub fn set_raw_wasm(&mut self, val: bool) -> &mut Self
pub fn get_verify(&self) -> bool
pub fn get_mut_verify(&mut self) -> &mut bool
pub fn set_verify(&mut self, val: bool) -> &mut Self
pub fn get_theme_variants(&self) -> bool
pub fn get_mut_theme_variants(&mut self) -> &mut bool
pub fn set_theme_variants(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for WebBuildConfig
impl Clone for WebBuildConfig
Source§impl Debug for WebBuildConfig
impl Debug for WebBuildConfig
Source§impl Default for WebBuildConfig
Default configuration matching scripts/build/build-web.sh (euv-example, dist/web, ./, release).
impl Default for WebBuildConfig
Default configuration matching scripts/build/build-web.sh (euv-example, dist/web, ./, release).
Source§impl<'de> Deserialize<'de> for WebBuildConfig
impl<'de> Deserialize<'de> for WebBuildConfig
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
impl Eq for WebBuildConfig
Source§impl PartialEq for WebBuildConfig
impl PartialEq for WebBuildConfig
Source§impl Serialize for WebBuildConfig
impl Serialize for WebBuildConfig
impl StructuralPartialEq for WebBuildConfig
Auto Trait Implementations§
impl Forget for WebBuildConfig
impl Freeze for WebBuildConfig
impl Move for WebBuildConfig
impl RefUnwindSafe for WebBuildConfig
impl Send for WebBuildConfigwhere
RawVecInner: Send,
impl Sync for WebBuildConfigwhere
RawVecInner: Sync,
impl Unpin for WebBuildConfig
impl UnsafeUnpin for WebBuildConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for WebBuildConfigwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more