[−][src]Enum argue::ArgumentType
Defines the type of argument passed, a Single argument can be "--help", a paired one is "-j 5", and an equaled would be "--name=joshep". The bool inside tells if the argument is mandatory, in case its not provided It will print the usage and the missing argument
Variants
Single(bool)
Paired(bool)
Equaled(bool)
Trait Implementations
impl Clone for ArgumentType
[src]
pub fn clone(&self) -> ArgumentType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ArgumentType
[src]
impl Debug for ArgumentType
[src]
impl Eq for ArgumentType
[src]
impl PartialEq<ArgumentType> for ArgumentType
[src]
pub fn eq(&self, other: &ArgumentType) -> bool
[src]
pub fn ne(&self, other: &ArgumentType) -> bool
[src]
impl StructuralEq for ArgumentType
[src]
impl StructuralPartialEq for ArgumentType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArgumentType
impl Send for ArgumentType
impl Sync for ArgumentType
impl Unpin for ArgumentType
impl UnwindSafe for ArgumentType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,