pub trait MatchArgExt<T: Debug, M: MatchArg<T>> {
    // Required methods
    fn with_custom_msg<F: Fn(&T) -> String>(
        self,
        msg_fn: F
    ) -> WithMessageFn<T, M, F>;
    fn with_description_fn<F: Fn() -> String>(
        self,
        description_fn: F
    ) -> WithDescriptionFn<T, M, F>;
}

Required Methods§

source

fn with_custom_msg<F: Fn(&T) -> String>( self, msg_fn: F ) -> WithMessageFn<T, M, F>

source

fn with_description_fn<F: Fn() -> String>( self, description_fn: F ) -> WithDescriptionFn<T, M, F>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Debug, M: MatchArg<T>> MatchArgExt<T, M> for M