Struct parsell::impls::Unwrap [] [src]

pub struct Unwrap<F>(_);

Methods

impl<F> Unwrap<F>
[src]

fn new(f: F) -> Unwrap<F>

Trait Implementations

impl<F: Debug> Debug for Unwrap<F>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<F: Clone> Clone for Unwrap<F>
[src]

fn clone(&self) -> Unwrap<F>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<F: Copy> Copy for Unwrap<F>
[src]

impl<F, S, T> Function<S> for Unwrap<F> where F: Function<S, Output=Option<T>>
[src]

type Output = T

fn apply(&self, arg: S) -> T