pub struct EmitWasmCommand {
pub input: Option<String>,
pub emit_path: Option<String>,
pub entry: Option<String>,
pub init_fn: Option<String>,
pub reload_fn: Option<String>,
pub boundary: String,
pub check_only: bool,
}Expand description
emit a browser or embedded WebAssembly core module
Fields§
§input: Option<String>input source file, defaults to “calcit.cirru”
emit_path: Option<String>output directory for program.wasm; defaults to the top-level emit path
entry: Option<String>select a configured entry
init_fn: Option<String>override the configured initialization definition
reload_fn: Option<String>override the configured reload definition
boundary: Stringoutput ABI boundary: native (default) or component
check_only: boolvalidate the core module without writing program.wasm
Trait Implementations§
Source§impl Clone for EmitWasmCommand
impl Clone for EmitWasmCommand
Source§impl Debug for EmitWasmCommand
impl Debug for EmitWasmCommand
Source§impl FromArgs for EmitWasmCommand
impl FromArgs for EmitWasmCommand
Source§fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
Construct the type from an input set of arguments. Read more
Source§fn redact_arg_values(
__cmd_name: &[&str],
__args: &[&str],
) -> Result<Vec<String>, EarlyExit>
fn redact_arg_values( __cmd_name: &[&str], __args: &[&str], ) -> Result<Vec<String>, EarlyExit>
Get a String with just the argument names, e.g., options, flags, subcommands, etc, but
without the values of the options and arguments. This can be useful as a means to capture
anonymous usage statistics without revealing the content entered by the end user. Read more
Source§impl PartialEq for EmitWasmCommand
impl PartialEq for EmitWasmCommand
impl StructuralPartialEq for EmitWasmCommand
Source§impl SubCommand for EmitWasmCommand
impl SubCommand for EmitWasmCommand
Source§const COMMAND: &'static CommandInfo
const COMMAND: &'static CommandInfo
Information about the subcommand.
Auto Trait Implementations§
impl Forget for EmitWasmCommand
impl Freeze for EmitWasmCommand
impl Move for EmitWasmCommand
impl RefUnwindSafe for EmitWasmCommand
impl Send for EmitWasmCommandwhere
RawVecInner: Send,
impl Sync for EmitWasmCommandwhere
RawVecInner: Sync,
impl Unpin for EmitWasmCommand
impl UnsafeUnpin for EmitWasmCommand
impl UnwindSafe for EmitWasmCommandwhere
RawVecInner: UnwindSafe,
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,
Source§impl<T> SubCommands for Twhere
T: SubCommand,
impl<T> SubCommands for Twhere
T: SubCommand,
Source§const COMMANDS: &'static [&'static CommandInfo<'static>]
const COMMANDS: &'static [&'static CommandInfo<'static>]
Info for the commands.
Source§fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
Get a list of commands that are discovered at runtime.