Enum wasm_pack::install::InstallMode
source ยท pub enum InstallMode {
Normal,
Noinstall,
Force,
}
Expand description
The InstallMode
determines which mode of initialization we are running, and
what install steps we perform.
Variantsยง
Normal
Perform all the install steps.
Noinstall
Donโt install tools like wasm-bindgen
, just use the global
environmentโs existing versions to do builds.
Force
Skip the rustc version check
Implementationsยง
sourceยงimpl InstallMode
impl InstallMode
sourcepub fn install_permitted(self) -> bool
pub fn install_permitted(self) -> bool
Determines if installation is permitted during a function call based on โmode flag
Trait Implementationsยง
sourceยงimpl Clone for InstallMode
impl Clone for InstallMode
sourceยงfn clone(&self) -> InstallMode
fn clone(&self) -> InstallMode
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 InstallMode
impl Debug for InstallMode
sourceยงimpl Default for InstallMode
impl Default for InstallMode
sourceยงfn default() -> InstallMode
fn default() -> InstallMode
Returns the โdefault valueโ for a type. Read more