pub trait ListLike: NativeElement {
type Item: ListItemLike;
// Required method
fn create(children: Vec<Packed<Self::Item>>, tight: bool) -> Self;
}
Expand description
A list, enum, or term list.
Required Associated Types§
Sourcetype Item: ListItemLike
type Item: ListItemLike
The kind of list item this list is composed of.
Required Methods§
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.