pub trait StrictStruct: StrictProduct {
const ALL_FIELDS: &'static [&'static str];
// Provided methods
fn strict_check_fields() { ... }
fn strict_type_info() -> TypeInfo<Self> { ... }
}
Required Associated Constants§
const ALL_FIELDS: &'static [&'static str]
Provided Methods§
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
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.