pub fn logos_offset(index: i64, len: usize) -> Option<usize>Expand description
The 0-based offset of the item a 1-based LOGOS index names in a sequence of len items, or None when it
names none. Index 1 is the first item and a negative index counts from the back (-1 is the last); 0 and
anything past either end name nothing. ONE definition: every engine, every generated program and every
fast path indexes through this rule. The arithmetic is 64-bit on every target, so a wasm32 build reads
the same item a native one does.