pub trait Container: DataStructure<DsType = NonTerminal> {
type Inner: DataStructure;
}
Expand description
A trait representing a data structure that is a container of other data structures.
Most data structures are non-terminal, meaning they contain other data structures.
Since we represent actual values as the Item
structure, even “simple” data structures
like a Key-Value Map are considered non-terminal, and thus are marked as Container
.
Required Associated Types§
type Inner: DataStructure
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.