[][src]Struct undo::WithMerge

pub struct WithMerge<A> { /* fields omitted */ }

A command wrapper with a specified merge behavior.

Created by the with_merge function.

Implementations

impl<A> WithMerge<A>[src]

pub fn with_text(self, text: impl Into<String>) -> WithText<WithMerge<A>>[src]

Returns a new command with the provided text.

Trait Implementations

impl<T, C: Command<T>> Command<T> for WithMerge<C>[src]

impl<A: Debug> Debug for WithMerge<A>[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for WithMerge<A> where
    A: RefUnwindSafe

impl<A> Send for WithMerge<A> where
    A: Send

impl<A> Sync for WithMerge<A> where
    A: Sync

impl<A> Unpin for WithMerge<A> where
    A: Unpin

impl<A> UnwindSafe for WithMerge<A> where
    A: 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, 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.