Function swash::tag_from_str_lossy[][src]

pub fn tag_from_str_lossy(s: &str) -> Tag

Creates a tag from the first four bytes of a string, inserting spaces for any missing bytes.