taffy::util::sys

Module std

Source
Expand description

For when std is enabled

Functions§

  • abs 🔒
    Computes the absolute value
  • ceil 🔒
    Rounds up to the nearest whole number
  • f32_max 🔒
    Returns the largest of two f32 values
  • f32_min 🔒
    Returns the smallest of two f32 values
  • floor 🔒
    Rounds down to the nearest whole number
  • Creates a new vector with the capacity for the specified number of items before it must be resized
  • round 🔒
    Rounds to the nearest whole number

Type Aliases§

  • A vector of child nodes
  • A vector of grid tracks
  • Vec 🔒
    An allocation-backend agnostic vector type