pub struct Build {Show 15 fields
pub crate_path: PathBuf,
pub crate_data: CrateData,
pub scope: Option<String>,
pub disable_dts: bool,
pub weak_refs: bool,
pub reference_types: bool,
pub target: Target,
pub no_pack: bool,
pub profile: BuildProfile,
pub mode: InstallMode,
pub out_dir: PathBuf,
pub out_name: Option<String>,
pub bindgen: Option<Status>,
pub cache: Cache,
pub extra_options: Vec<String>,
}Expand description
Everything required to configure and run the wasm-pack build command.
Fields§
§crate_path: PathBuf§crate_data: CrateData§scope: Option<String>§disable_dts: bool§weak_refs: bool§reference_types: bool§target: Target§no_pack: bool§profile: BuildProfile§mode: InstallMode§out_dir: PathBuf§out_name: Option<String>§bindgen: Option<Status>§cache: Cache§extra_options: Vec<String>Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Build
impl Send for Build
impl Sync for Build
impl Unpin for Build
impl UnwindSafe for Build
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