Trait scale_info::StaticTypeInfo[][src]

pub trait StaticTypeInfo: TypeInfo + 'static { }
Expand description

Convenience trait for implementors, combining TypeInfo and 'static bounds.

Note

Currently because of the 'static constraint on std::any::TypeId::of (see MetaType), TypeInfo constraints must also be accompanied by a 'static bound. This trait is useful to implementors so only a single constraint is required.

Implementors