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§

source

fn init<T>(_t: T) -> Self

Construct a new base type.

source

fn tags() -> &'static [(BaseVersion, BaseTag)]

Returns a list of valid tags and versions for this type.

Implementors§