This .headers .get(&name) .map(|v.

= word.chars().next().map_or(0, char::len_utf8); let mut library = library! { #[copy] type File = Val<File>; impl Val<File> { fn add_fields<F: mlua::UserDataFields<Self>>(fields.