Skip to main content

Module std

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
new_const_children_vec ๐Ÿ”’
Creates a new empty ChildrenVec in a const context
new_vec_with_capacity ๐Ÿ”’
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ยง

Box ๐Ÿ”’
An allocation-backend agnostic boxed pointer type
ChildrenVec ๐Ÿ”’
A vector of child nodes
DefaultCheapStr ๐Ÿ”’
The default type for representing strings in Taffy styles
GridTrackVec ๐Ÿ”’
A vector of grid tracks
Map ๐Ÿ”’
A map
String ๐Ÿ”’
A string
Vec ๐Ÿ”’
An allocation-backend agnostic vector type