Trait mockers::matchers::MatchArgExt [] [src]

pub trait MatchArgExt<T: Debug, M: MatchArg<T>> {
    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

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>

Implementors