pub trait MaybeEquivalence<A, B> {
    // Required methods
    fn convert(a: &A) -> Option<B>;
    fn convert_back(b: &B) -> Option<A>;
}
Expand description

Definition for a bi-directional, fallible conversion between two types.

Required Methods§

source

fn convert(a: &A) -> Option<B>

Attempt to convert reference of A into value of B, returning None if not possible.

source

fn convert_back(b: &B) -> Option<A>

Attempt to convert reference of B into value of A, returning None if not possible.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<A, B> MaybeEquivalence<A, B> for ()

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0,)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>, TupleElement20: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>, TupleElement20: MaybeEquivalence<A, B>, TupleElement21: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>, TupleElement20: MaybeEquivalence<A, B>, TupleElement21: MaybeEquivalence<A, B>, TupleElement22: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>, TupleElement20: MaybeEquivalence<A, B>, TupleElement21: MaybeEquivalence<A, B>, TupleElement22: MaybeEquivalence<A, B>, TupleElement23: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>, TupleElement20: MaybeEquivalence<A, B>, TupleElement21: MaybeEquivalence<A, B>, TupleElement22: MaybeEquivalence<A, B>, TupleElement23: MaybeEquivalence<A, B>, TupleElement24: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>, TupleElement20: MaybeEquivalence<A, B>, TupleElement21: MaybeEquivalence<A, B>, TupleElement22: MaybeEquivalence<A, B>, TupleElement23: MaybeEquivalence<A, B>, TupleElement24: MaybeEquivalence<A, B>, TupleElement25: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>, TupleElement20: MaybeEquivalence<A, B>, TupleElement21: MaybeEquivalence<A, B>, TupleElement22: MaybeEquivalence<A, B>, TupleElement23: MaybeEquivalence<A, B>, TupleElement24: MaybeEquivalence<A, B>, TupleElement25: MaybeEquivalence<A, B>, TupleElement26: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>, TupleElement20: MaybeEquivalence<A, B>, TupleElement21: MaybeEquivalence<A, B>, TupleElement22: MaybeEquivalence<A, B>, TupleElement23: MaybeEquivalence<A, B>, TupleElement24: MaybeEquivalence<A, B>, TupleElement25: MaybeEquivalence<A, B>, TupleElement26: MaybeEquivalence<A, B>, TupleElement27: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>, TupleElement20: MaybeEquivalence<A, B>, TupleElement21: MaybeEquivalence<A, B>, TupleElement22: MaybeEquivalence<A, B>, TupleElement23: MaybeEquivalence<A, B>, TupleElement24: MaybeEquivalence<A, B>, TupleElement25: MaybeEquivalence<A, B>, TupleElement26: MaybeEquivalence<A, B>, TupleElement27: MaybeEquivalence<A, B>, TupleElement28: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)

source§

impl<A, B, TupleElement0: MaybeEquivalence<A, B>, TupleElement1: MaybeEquivalence<A, B>, TupleElement2: MaybeEquivalence<A, B>, TupleElement3: MaybeEquivalence<A, B>, TupleElement4: MaybeEquivalence<A, B>, TupleElement5: MaybeEquivalence<A, B>, TupleElement6: MaybeEquivalence<A, B>, TupleElement7: MaybeEquivalence<A, B>, TupleElement8: MaybeEquivalence<A, B>, TupleElement9: MaybeEquivalence<A, B>, TupleElement10: MaybeEquivalence<A, B>, TupleElement11: MaybeEquivalence<A, B>, TupleElement12: MaybeEquivalence<A, B>, TupleElement13: MaybeEquivalence<A, B>, TupleElement14: MaybeEquivalence<A, B>, TupleElement15: MaybeEquivalence<A, B>, TupleElement16: MaybeEquivalence<A, B>, TupleElement17: MaybeEquivalence<A, B>, TupleElement18: MaybeEquivalence<A, B>, TupleElement19: MaybeEquivalence<A, B>, TupleElement20: MaybeEquivalence<A, B>, TupleElement21: MaybeEquivalence<A, B>, TupleElement22: MaybeEquivalence<A, B>, TupleElement23: MaybeEquivalence<A, B>, TupleElement24: MaybeEquivalence<A, B>, TupleElement25: MaybeEquivalence<A, B>, TupleElement26: MaybeEquivalence<A, B>, TupleElement27: MaybeEquivalence<A, B>, TupleElement28: MaybeEquivalence<A, B>, TupleElement29: MaybeEquivalence<A, B>> MaybeEquivalence<A, B> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)

Implementors§

source§

impl<A: Clone + Into<B>, B: Clone + Into<A>> MaybeEquivalence<A, B> for ConvertInto

source§

impl<A: Clone + TryInto<B>, B: Clone + TryInto<A>> MaybeEquivalence<A, B> for TryConvertInto

source§

impl<T: Clone> MaybeEquivalence<T, T> for Identity

source§

impl<X, Y, T: Get<Y>> MaybeEquivalence<X, Y> for ConvertToValue<T>