pub trait Iterable:
Sized
+ Copy
+ 'static {
const ALL: &'static [Self];
// Provided method
fn iter() -> Copied<Iter<'static, Self>> ⓘ { ... }
}Expand description
An enumeration whose variants can be listed: columns, primary keys and relations.
Generated by the derive macros; ALL is in declaration order.
Required Associated Constants§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".