[−][src]Struct clap_conf::grabber::Grabber
Methods
impl<'a, H, R, I> Grabber<'a, H, R, I> where
I: Iterator<Item = R>,
H: Getter<'a, R>,
R: PartialEq + Debug,
[src]
I: Iterator<Item = R>,
H: Getter<'a, R>,
R: PartialEq + Debug,
pub fn new(h: &'a H) -> Self
[src]
pub fn op<S: AsRef<str>>(self, s: S, f: Filter) -> Self
[src]
pub fn conf<S: AsRef<str>>(self, s: S) -> Self
[src]
pub fn env<S: AsRef<str>>(self, s: S) -> Self
[src]
pub fn arg<S: AsRef<str>>(self, s: S) -> Self
[src]
pub fn done(self) -> Option<R>
[src]
pub fn def<V>(self, v: V) -> R where
R: From<V>,
[src]
R: From<V>,
impl<'a, H, R, I> Grabber<'a, H, R, I> where
I: Iterator<Item = R>,
H: Getter<'a, R>,
R: PartialEq + Debug + AsRef<str>,
[src]
I: Iterator<Item = R>,
H: Getter<'a, R>,
R: PartialEq + Debug + AsRef<str>,
pub fn rep_env(self) -> Result<String, ConfError>
[src]
pub fn ask<S: AsRef<str>>(self, s: S) -> Result<String, ConfError>
[src]
pub fn ask_def<S: AsRef<str>>(self, s: S, def: S) -> String
[src]
Trait Implementations
impl<'a, H: Clone, R: Clone, I: Clone> Clone for Grabber<'a, H, R, I> where
I: Iterator<Item = R>,
H: Getter<'a, R>,
R: PartialEq + Debug,
[src]
I: Iterator<Item = R>,
H: Getter<'a, R>,
R: PartialEq + Debug,
Auto Trait Implementations
impl<'a, H, R, I> Send for Grabber<'a, H, R, I> where
H: Sync,
I: Send,
R: Send,
H: Sync,
I: Send,
R: Send,
impl<'a, H, R, I> Sync for Grabber<'a, H, R, I> where
H: Sync,
I: Sync,
R: Sync,
H: Sync,
I: Sync,
R: Sync,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,