pub struct HCons<N, M, H, T>(pub H, pub T, _, _);
Expand description
Structure representing a non-empty HList consisting of a head and tail.
N encodes the length of this HList while M = N - 1 is the length of the tail HList.
Tail of this HList which itself is a HList of length M = N - 1.
Take an immutable reference to the head element of this HList represented by HCons.
Take an immutable reference to the tail HList contained in this HCons.
Add given element to the front of this HList.
impl<N, M, H, T> Send for HCons<N, M, H, T> where
H: Send,
M: Send,
N: Send,
T: Send,
impl<N, M, H, T> Sync for HCons<N, M, H, T> where
H: Sync,
M: Sync,
N: Sync,
T: Sync,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.