Skip to main content

HostTypeAt

Trait HostTypeAt 

Source
pub trait HostTypeAt<Index>: HostTypeSequence {
    type Type: HostType;
}
Expand description

Selects one type from a recursive host type sequence by position.

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<Head, Tail, Index> HostTypeAt<HostTypeIndexNext<Index>> for HostTypeList<Head, Tail>
where Head: HostAbiType, Tail: HostTypeAt<Index>,

Source§

type Type = <Tail as HostTypeAt<Index>>::Type

Source§

impl<Head, Tail> HostTypeAt<HostTypeIndex0> for HostTypeList<Head, Tail>
where Head: HostAbiType, Tail: HostTypeSequence,

Source§

type Type = Head