Struct clap_builder::Id
source · pub struct Id(/* private fields */);
Expand description
This is used for accessing the value in ArgMatches
or defining
relationships between Arg
s and ArgGroup
s with functions like
Arg::conflicts_with
.
Implementations§
Trait Implementations§
source§impl Ord for Id
impl Ord for Id
source§impl PartialEq<&str> for Id
impl PartialEq<&str> for Id
source§impl PartialEq<String> for Id
impl PartialEq<String> for Id
source§impl PartialOrd for Id
impl PartialOrd for Id
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Id
impl StructuralEq for Id
impl StructuralPartialEq for Id
Auto Trait Implementations§
impl RefUnwindSafe for Id
impl Send for Id
impl Sync for Id
impl Unpin for Id
impl UnwindSafe for Id
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<I> IntoResettable<Id> for Iwhere
I: Into<Id>,
impl<I> IntoResettable<Id> for Iwhere I: Into<Id>,
source§fn into_resettable(self) -> Resettable<Id>
fn into_resettable(self) -> Resettable<Id>
Convert to the intended resettable type
source§impl<I> IntoResettable<Str> for Iwhere
I: Into<Str>,
impl<I> IntoResettable<Str> for Iwhere I: Into<Str>,
source§fn into_resettable(self) -> Resettable<Str>
fn into_resettable(self) -> Resettable<Str>
Convert to the intended resettable type
source§impl<I> IntoResettable<String> for Iwhere
I: Into<String>,
impl<I> IntoResettable<String> for Iwhere I: Into<String>,
source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type