pub trait List: Sealed {
// Required methods
fn unit() -> Self;
fn is_empty() -> bool;
}Expand description
Type-level HList, specialized to IOWord
using a sealed trait
See e.g. <https://hackage.haskell.org/package/heterolist> (or frunk) for
what a HList is.
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.