Struct parsell::impls::IsSome [] [src]

pub struct IsSome<F>(_);

Methods

impl<F> IsSome<F>
[src]

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

Trait Implementations

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

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

Formats the value using the given formatter.

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

fn clone(&self) -> IsSome<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 IsSome<F>
[src]

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

type Output = bool

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