Skip to main content

ListTypeProperty

Trait ListTypeProperty 

Source
pub trait ListTypeProperty {
    type Output;

    // Required method
    fn property<R: List>() -> Self::Output;
}
Expand description

Property generator for iterating over type-level lists.

Required Associated Types§

Source

type Output

The per-element property type produced during iteration.

Required Methods§

Source

fn property<R: List>() -> Self::Output

Compute the property for the current list head in R.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ListTypeProperty for TypeId

Implementors§