Struct ttf_parser::Name [−][src]
pub struct Name<'a> { /* fields omitted */ }
Expand description
A Name Record.
Implementations
Returns the platform ID.
Returns the platform-specific encoding ID.
Returns the language ID.
Returns the Name’s data as a UTF-8 string.
Only Unicode names are supported. And since they are stored as UTF-16BE,
we can’t return &str
and have to allocate a String
.
Supports:
- Unicode Platform ID
- Windows Platform ID + Symbol
- Windows Platform ID + Unicode BMP
Checks that the current Name data has a Unicode encoding.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Name<'a>
impl<'a> UnwindSafe for Name<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more