charon_lib::ast::krate

Macro wrap_unwrap_enum

source
macro_rules! wrap_unwrap_enum {
    ($enum:ident::$variant:ident($variant_ty:ident)) => { ... };
}
Expand description

Implement TryFrom and From to convert between an enum and its variants.