Module taffy::util

source ยท
Expand description

Helpful misc. utilities such as a function to debug print a tree

Modulesยง

  • math ๐Ÿ”’
    Contains numerical helper traits and functions
  • print ๐Ÿ”’
    Contains the print_tree function for printing a debug representation of the tree
  • resolve ๐Ÿ”’
    Helper trait to calculate dimensions during layout resolution
  • sys ๐Ÿ”’
    Allocator-flexible data types

Traitsยง

  • A trait to conveniently calculate minimums and maximums when some data may not be defined
  • Trait to encapsulate behaviour where we need to resolve from a potentially context-dependent size or dimension into a context-independent size or dimension.
  • Trait to encapsulate behaviour where we need to resolve from a potentially context-dependent size or dimension into a context-independent size or dimension.

Functionsยง

  • Prints a debug representation of the computed layout for a tree of nodes, starting with the passed root node.