clementine_core::database::wrapper

Macro impl_text_wrapper_base

Source
macro_rules! impl_text_wrapper_base {
    ($wrapper:ident, $inner:ty, $encode:expr, $decode:expr) => { ... };
}
Expand description

Macro to reduce boilerplate for [impl_text_wrapper_custom].

Implements the Type, Encode and Decode traits for a wrapper type. Assumes the type is declared.