Trait sp_runtime::traits::MaybeConvert

source ·
pub trait MaybeConvert<A, B> {
    // Required method
    fn maybe_convert(a: A) -> Option<B>;
}
Expand description

Fallible conversion trait returning an Option. Generic over both source and destination types.

Required Methods§

source

fn maybe_convert(a: A) -> Option<B>

Attempt to make conversion.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<A: Clone, B> MaybeConvert<A, B> for ()

source§

impl<A: Clone, B, TupleElement0: MaybeConvert<A, B>> MaybeConvert<A, B> for (TupleElement0,)

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<A: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>, TupleElement20: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>, TupleElement20: MaybeConvert<A, B>, TupleElement21: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>, TupleElement20: MaybeConvert<A, B>, TupleElement21: MaybeConvert<A, B>, TupleElement22: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>, TupleElement20: MaybeConvert<A, B>, TupleElement21: MaybeConvert<A, B>, TupleElement22: MaybeConvert<A, B>, TupleElement23: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>, TupleElement20: MaybeConvert<A, B>, TupleElement21: MaybeConvert<A, B>, TupleElement22: MaybeConvert<A, B>, TupleElement23: MaybeConvert<A, B>, TupleElement24: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>, TupleElement20: MaybeConvert<A, B>, TupleElement21: MaybeConvert<A, B>, TupleElement22: MaybeConvert<A, B>, TupleElement23: MaybeConvert<A, B>, TupleElement24: MaybeConvert<A, B>, TupleElement25: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>, TupleElement20: MaybeConvert<A, B>, TupleElement21: MaybeConvert<A, B>, TupleElement22: MaybeConvert<A, B>, TupleElement23: MaybeConvert<A, B>, TupleElement24: MaybeConvert<A, B>, TupleElement25: MaybeConvert<A, B>, TupleElement26: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>, TupleElement20: MaybeConvert<A, B>, TupleElement21: MaybeConvert<A, B>, TupleElement22: MaybeConvert<A, B>, TupleElement23: MaybeConvert<A, B>, TupleElement24: MaybeConvert<A, B>, TupleElement25: MaybeConvert<A, B>, TupleElement26: MaybeConvert<A, B>, TupleElement27: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>, TupleElement20: MaybeConvert<A, B>, TupleElement21: MaybeConvert<A, B>, TupleElement22: MaybeConvert<A, B>, TupleElement23: MaybeConvert<A, B>, TupleElement24: MaybeConvert<A, B>, TupleElement25: MaybeConvert<A, B>, TupleElement26: MaybeConvert<A, B>, TupleElement27: MaybeConvert<A, B>, TupleElement28: MaybeConvert<A, B>> MaybeConvert<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: Clone, B, TupleElement0: MaybeConvert<A, B>, TupleElement1: MaybeConvert<A, B>, TupleElement2: MaybeConvert<A, B>, TupleElement3: MaybeConvert<A, B>, TupleElement4: MaybeConvert<A, B>, TupleElement5: MaybeConvert<A, B>, TupleElement6: MaybeConvert<A, B>, TupleElement7: MaybeConvert<A, B>, TupleElement8: MaybeConvert<A, B>, TupleElement9: MaybeConvert<A, B>, TupleElement10: MaybeConvert<A, B>, TupleElement11: MaybeConvert<A, B>, TupleElement12: MaybeConvert<A, B>, TupleElement13: MaybeConvert<A, B>, TupleElement14: MaybeConvert<A, B>, TupleElement15: MaybeConvert<A, B>, TupleElement16: MaybeConvert<A, B>, TupleElement17: MaybeConvert<A, B>, TupleElement18: MaybeConvert<A, B>, TupleElement19: MaybeConvert<A, B>, TupleElement20: MaybeConvert<A, B>, TupleElement21: MaybeConvert<A, B>, TupleElement22: MaybeConvert<A, B>, TupleElement23: MaybeConvert<A, B>, TupleElement24: MaybeConvert<A, B>, TupleElement25: MaybeConvert<A, B>, TupleElement26: MaybeConvert<A, B>, TupleElement27: MaybeConvert<A, B>, TupleElement28: MaybeConvert<A, B>, TupleElement29: MaybeConvert<A, B>> MaybeConvert<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 + TryInto<B>, B> MaybeConvert<A, B> for TryConvertInto

source§

impl<A: Into<B>, B> MaybeConvert<A, B> for ConvertInto

source§

impl<T> MaybeConvert<T, T> for Identity

source§

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