pub trait BaseType {
// Required methods
fn init<T>(_t: T) -> Self;
fn tags() -> &'static [(BaseVersion, BaseTag)];
}
Expand description
Trait that all base types must implement.
Required Methods§
Returns a list of valid tags and versions for this type.
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.