[][src]Struct markedit::And

pub struct And<L, R> { /* fields omitted */ }

A Matcher which only returns true when both inner Matchers do.

Methods

impl<L, R> And<L, R>[src]

pub const fn new(left: L, right: R) -> Self[src]

Create a new And matcher.

Trait Implementations

impl<L: Clone, R: Clone> Clone for And<L, R>[src]

impl<L: Debug, R: Debug> Debug for And<L, R>[src]

impl<L: Matcher, R: Matcher> Matcher for And<L, R>[src]

impl<L: PartialEq, R: PartialEq> PartialEq<And<L, R>> for And<L, R>[src]

impl<L, R> StructuralPartialEq for And<L, R>[src]

Auto Trait Implementations

impl<L, R> RefUnwindSafe for And<L, R> where
    L: RefUnwindSafe,
    R: RefUnwindSafe

impl<L, R> Send for And<L, R> where
    L: Send,
    R: Send

impl<L, R> Sync for And<L, R> where
    L: Sync,
    R: Sync

impl<L, R> Unpin for And<L, R> where
    L: Unpin,
    R: Unpin

impl<L, R> UnwindSafe for And<L, R> where
    L: UnwindSafe,
    R: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.