Skip to main content

kind_of

Function kind_of 

Source
pub fn kind_of(content: &str) -> Option<HardwareKind>
Expand description

Which kind of design content is; None for an empty editor. A spec is the kind whose field it names (pigeons:, registers:), whatever its values, so a mistake in one is reported as that spec’s mistake.