Module penumbra_tct::internal::three

source ·
Available on crate feature internal only.
Expand description

A wrapper around Vec for vectors whose length is at most 3 elements.

This is used in the implementation of frontier::Nodes to store the lefthand siblings of the frontier’s rightmost child, which must number at most 3 (because nodes must have at most 4 children total).

Structs§

  • A vector capable of storing at most 3 elements.

Enums§

  • All the possible cases of the elements in a Three, by reference.
  • All the possible cases of the elements in a Three, by mutable reference.
  • All the possible cases of the elements in a Three, by value.