[][src]Struct markedit::OneShot

pub struct OneShot<M> { /* fields omitted */ }

A Matcher which will only ever return true once.

Methods

impl<M> OneShot<M>[src]

pub const fn new(inner: M) -> Self[src]

Create a OneShot matcher.

Trait Implementations

impl<M: Clone> Clone for OneShot<M>[src]

impl<M: Debug> Debug for OneShot<M>[src]

impl<M: Matcher> Matcher for OneShot<M>[src]

impl<M: PartialEq> PartialEq<OneShot<M>> for OneShot<M>[src]

impl<M> StructuralPartialEq for OneShot<M>[src]

Auto Trait Implementations

impl<M> RefUnwindSafe for OneShot<M> where
    M: RefUnwindSafe

impl<M> Send for OneShot<M> where
    M: Send

impl<M> Sync for OneShot<M> where
    M: Sync

impl<M> Unpin for OneShot<M> where
    M: Unpin

impl<M> UnwindSafe for OneShot<M> where
    M: 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.