Skip to main content

length_scale

Function length_scale 

Source
pub fn length_scale(label: &str) -> Option<Scale<Length>>
Expand description

The scale a length is named in, where it is named in words rather than in a type.

A file that says what its numbers are in has to say it as text, so the words are matched here and nowhere else. A word that is not among them is nothing rather than a guess, since a length taken in the wrong scale is wrong by a factor rather than by a little, and a file that troubled to say something is the last place to stop listening.