Rename the Taffy
struct
#449
Labels
breaking-change
A change that breaks our public interface
documentation
Improvements or additions to documentation
usability
Make the library more comfortable to use
Milestone
What problem does this solve or what need does it fill?
The
Taffy
struct is not particularly descriptively named, especially now that taffy also has a low-level API and theTaffy
struct doesn't represent the only APIWhat solution would you like?
Give the
Taffy
struct a better name. Suggestions:DefaultTree
/DefaultLayoutTree
SimpleTree
/SimpleLayoutTree
TaffyTree
/TaffyLayoutTree
We could also consider renaming the
LayoutTree
trait at the same time if that would help.Additional context
We may also want to make the
Taffy
struct generic in future for two purposes:Send + Sync
and non-Send + Sync
measure functions. The former is required to allowTaffy
instances to be moved between threads, but the latter is necessary in contexts like WASM where measure functions from JS typically won't beSend
.The text was updated successfully, but these errors were encountered: