Trait glifnames::traits::GlyphNameVec
source · pub trait GlyphNameVec<'a> {
fn glyph_name_vec<'b, S: AsRef<[char]>>(s: S) -> Option<Cow<'a, str>>;
}
Expand description
Trait to implement returning a vector on your own glyph lists, required by GlyphName
Required Methods§
sourcefn glyph_name_vec<'b, S: AsRef<[char]>>(s: S) -> Option<Cow<'a, str>>
fn glyph_name_vec<'b, S: AsRef<[char]>>(s: S) -> Option<Cow<'a, str>>
Look up AsRef<str>
, return glyph name if available.