Enum clap::builder::ArgPredicate
source · pub enum ArgPredicate {
IsPresent,
Equals(OsStr),
}
Expand description
Operations to perform on argument values
These do not apply to ValueSource::DefaultValue
Variants§
Trait Implementations§
source§impl Clone for ArgPredicate
impl Clone for ArgPredicate
source§fn clone(&self) -> ArgPredicate
fn clone(&self) -> ArgPredicate
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 ArgPredicate
impl Debug for ArgPredicate
source§impl<S> From<S> for ArgPredicatewhere
S: Into<OsStr>,
impl<S> From<S> for ArgPredicatewhere
S: Into<OsStr>,
source§fn from(other: S) -> ArgPredicate
fn from(other: S) -> ArgPredicate
Converts to this type from the input type.