Skip to main content

ToTypeIdList

Trait ToTypeIdList 

Source
pub trait ToTypeIdList: List {
    // Required method
    fn to_stack_info_list() -> Vec<StackInfo>;
}
Expand description

Enumerates opaque leaf types in a concrete preloaded stack list.

Required Methods§

Source

fn to_stack_info_list() -> Vec<StackInfo>

Returns source-ordered leaf slots.

  • Complexity: O(n) slots for n list elements.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ToTypeIdList for CNil<()>

Source§

impl<H, T> ToTypeIdList for CStackList<H, T>
where H: 'static, T: ToTypeIdList + 'static + CStackListHeadLimit,