Trait Mark

pub(in ::bridge) trait Mark

Helper to wrap associated types to allow trait impl dispatch. That is, normally a pair of impls for T::Foo and T::Bar can overlap, but if the impls are, instead, on types like Marked<T::Foo, Foo> and Marked<T::Bar, Bar>, they can't.

Associated Types

type Unmarked;

Required Methods

fn mark(unmarked: Self::Unmarked) -> Self
fn unmark(self) -> Self::Unmarked

Implementors