Module compact_length

Source
Expand description

A tagged-pointer abstraction that allows size styles in Taffy to be represented in just 64 bits. Wrapped by types in the super::dimension and super::grid modules.

Modulesยง

compat ๐Ÿ”’
Note: these two functions are copied directly from the std (core) library. But by duplicating them here we can reduce MSRV from 1.84 all the way down to 1.65 while retaining const constructors and strict pointer provenance
inner ๐Ÿ”’
CompactLengthInner implementation for 64 bit platforms

Structsยง

CompactLength
A representation of a length as a compact 64-bit tagged pointer