Skip to main content

value_offset

Function value_offset 

Source
pub fn value_offset(line: &str) -> usize
Expand description

For a frontmatter line, the byte offset where the checkable value portion starts. Returns usize::MAX if the entire line should be skipped (frontmatter delimiters, key-only lines, YAML comments, flow constructs).