Skip to main content

lists_kind

Function lists_kind 

Source
pub fn lists_kind(kind: u16) -> bool
Expand description

Whether the row names kind among its owners, gates aside: the byte-less spelling of owns. Spelled as a chain of compares, not OWNERS.contains: <[u16]>::contains is an out-of-line loop over a runtime-length slice, which LLVM cannot fold into the kind switch a consumer dispatches on, while the chain becomes case labels of it (#1697).