Settings
Help

Module std

Module std 

Source
Expand description

For when std is enabled

MacrosΒ§

format πŸ”’
Creates a String using interpolation of runtime expressions.

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_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
single_value_vec πŸ”’
Creates a new vector with the capacity for the specified number of items before it must be resized

Type AliasesΒ§

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