[][src]Macro librojo::impl_from

macro_rules! impl_from {
    (
        $enum_name: ident {
            $($error_type: ty => $variant_name: ident),* $(,)*
        }
    ) => { ... };
}

Implements 'From' for a list of variants, intended for use with error enums that are wrapping a number of errors from other methods.