pub trait NoGenericArgsGenericType: Default {
const ID: GenericTypeId;
const STORABLE: bool;
const DUPLICATABLE: bool;
const DROPPABLE: bool;
const ZERO_SIZED: bool;
}
Expand description
Trait for describing a generic type with no generic arguments.
Required Associated Constants§
const ID: GenericTypeId
const STORABLE: bool
const DUPLICATABLE: bool
const DROPPABLE: bool
const ZERO_SIZED: bool
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.