pub trait CustomTag<'a>: Tag<'a> {
const FLAG: TagFlag;
const NICK: &'static GStr;
const DESCRIPTION: &'static GStr;
// Provided method
fn merge_func(src: &Value) -> Value { ... }
}
Required Associated Constants§
Provided Methods§
fn merge_func(src: &Value) -> Value
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.