md_match

Trait MdMatch

Source
pub trait MdMatch {
    type Elem;

    // Required method
    fn md_match<R>(self, f: impl FnOnce(Self::Elem) -> R) -> R;
}
Expand description

trait for md-match

Required Associated Types§

Source

type Elem

element type

Required Methods§

Source

fn md_match<R>(self, f: impl FnOnce(Self::Elem) -> R) -> R

match the element of MdMatch

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§