Expand description
Re-exports§
pub use traits::LayoutPartialTree;
pub use traits::PrintTree;
pub use traits::RoundTree;
pub use traits::TraversePartialTree;
pub use traits::TraverseTree;
pub use traits::LayoutFlexboxContainer;
pub use traits::LayoutGridContainer;
pub use traits::LayoutBlockContainer;
Modules§
- traits
- The abstractions that make up the core of Taffy’s low-level API
Structs§
- Cache
- A cache for caching the results of a sizing a Grid Item or Flexbox Item
- Collapsible
Margin Set - A set of margins that are available for collapsing with for block layout’s margin collapsing
- Layout
- The final result of a layout algorithm for a single node.
- Layout
Input - A struct containing the inputs constraints/hints for laying out a node, which are passed in by the parent
- Layout
Output - A struct containing the result of laying a single node, which is returned up to the parent node
- NodeId
- A type representing the id of a single node in a tree of nodes
- Taffy
Tree - An entire tree of UI nodes. The entry point to Taffy’s high-level API.
Enums§
- Detailed
Layout Info - The additional information from layout algorithm
- Requested
Axis - An axis that layout algorithms can be requested to compute a size for
- RunMode
- Whether we are performing a full layout, or we merely need to size the node
- Sizing
Mode - Whether styles should be taken into account when computing size
- Taffy
Error - An error that occurs while trying to access or modify a node’s children by index.
Type Aliases§
- Taffy
Result - The error Taffy generates on invalid operations