Skip to main content

text_key

Function text_key 

Source
fn text_key(
    charsxp: SEXP,
    i: usize,
    what: &str,
    errors: &mut BatchedErrors,
) -> Option<&'static str>
Expand description

The text of the non-NA key charsxp (element i), or the failure recorded in errors, its reason after what: a key marked as bytes, or not valid UTF-8, has no String (see crate::from_r::try_charsxp_to_str).