Skip to main content

json_scalar

Function json_scalar 

Source
pub(crate) fn json_scalar(value: &Value) -> String
Expand description

One limit’s value as text.

Every field of a [wgpu::Limits] is an integer, so a scalar is all there is to render; the fallback covers a future field of another shape without hiding it.