pub trait GetterTraits: Default {
type InfoType: NoGenericArgsGenericType;
const STR_ID: &'static str;
}
Expand description
Trait for implementing getters.
Required Associated Constants§
Required Associated Types§
Sourcetype InfoType: NoGenericArgsGenericType
type InfoType: NoGenericArgsGenericType
The simple sierra generic type returned by the getter.
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.