Struct wasmtime_cli_flags::opt::CommaSeparated
source · pub struct CommaSeparated<T>(pub Vec<T>);Expand description
Parser registered with clap which handles parsing the ... in -O ....
Tuple Fields§
§0: Vec<T>Trait Implementations§
source§impl<T: Clone> Clone for CommaSeparated<T>
impl<T: Clone> Clone for CommaSeparated<T>
source§fn clone(&self) -> CommaSeparated<T>
fn clone(&self) -> CommaSeparated<T>
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<T: Debug> Debug for CommaSeparated<T>
impl<T: Debug> Debug for CommaSeparated<T>
source§impl<T: PartialEq> PartialEq for CommaSeparated<T>
impl<T: PartialEq> PartialEq for CommaSeparated<T>
source§fn eq(&self, other: &CommaSeparated<T>) -> bool
fn eq(&self, other: &CommaSeparated<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<T> ValueParserFactory for CommaSeparated<T>where
T: WasmtimeOption,
impl<T> ValueParserFactory for CommaSeparated<T>where
T: WasmtimeOption,
§type Parser = CommaSeparatedParser<T>
type Parser = CommaSeparatedParser<T>
Generated parser, usually [
ValueParser]. Read moresource§fn value_parser() -> CommaSeparatedParser<T>
fn value_parser() -> CommaSeparatedParser<T>
Create the specified [
Self::Parser]impl<T> StructuralPartialEq for CommaSeparated<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for CommaSeparated<T>where
T: RefUnwindSafe,
impl<T> Send for CommaSeparated<T>where
T: Send,
impl<T> Sync for CommaSeparated<T>where
T: Sync,
impl<T> Unpin for CommaSeparated<T>where
T: Unpin,
impl<T> UnwindSafe for CommaSeparated<T>where
T: 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