IsIterator

Type Alias IsIterator 

Source
pub type IsIterator = Marker<Cons<XB, Cons<XC, Cons<X8, Cons<XB, Cons<XD, Cons<X1, Cons<XC, Cons<X9, Cons<X2, Cons<XC, Cons<X4, Cons<X2, Cons<X7, Cons<X3, Cons<X0, ConstStream<XF>>>>>>>>>>>>>>>>>;
Expand description

Capability marker for Iterator trait detection.

Aliased Type§

pub struct IsIterator(/* private fields */);

Trait Implementations§

Source§

impl Capability for IsIterator

Source§

type Stream = Cons<XB, Cons<XC, Cons<X8, Cons<XB, Cons<XD, Cons<X1, Cons<XC, Cons<X9, Cons<X2, Cons<XC, Cons<X4, Cons<X2, Cons<X7, Cons<X3, Cons<X0, ConstStream<XF>>>>>>>>>>>>>>>>

Type-level nibble stream responsible for Routing (Trie Path). This is typically a short hash (64-bit) of the identity.
Source§

type Identity = IList8<IList<C<'I'>, IList<C<'t'>, IList<C<'e'>, IList<C<'r'>, IList<C<'a'>, IList<C<'t'>, IList<C<'o'>, IList<C<'r'>, INil>>>>>>>>>

Unique Type-Level Identity. Typically a Tuple of Char types representing the full name. Used for collision resolution (Equality checks) in leaf nodes.
Source§

type At<D: Peano> = <<<Marker<Cons<XB, Cons<XC, Cons<X8, Cons<XB, Cons<XD, Cons<X1, Cons<XC, Cons<X9, Cons<X2, Cons<XC, Cons<X4, Cons<X2, Cons<X7, Cons<X3, Cons<X0, ConstStream<XF>>>>>>>>>>>>>>>>> as Capability>::Stream as GetTail<D>>::Out as HashStream>::Head where Self::Stream: GetTail<D>

Helper to get the stream head at depth D (used for trie building)