pub enum CliCommand {
Pack {
cli_options: CliOptions,
outfile: Option<String>,
truncate: bool,
dir: OsString,
},
Extract {
cli_options: CliOptions,
dry_run: bool,
outdir: Option<String>,
file: OsString,
},
}Variants§
Pack
Create webview bundle archive
Fields
§
cli_options: CliOptionsExtract
Extract webview bundle archive
Implementations§
Trait Implementations§
Source§impl Clone for CliCommand
impl Clone for CliCommand
Source§fn clone(&self) -> CliCommand
fn clone(&self) -> CliCommand
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 CliCommand
impl RefUnwindSafe for CliCommand
impl Send for CliCommand
impl Sync for CliCommand
impl Unpin for CliCommand
impl UnwindSafe for CliCommand
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