Struct swash::LocalizedString [−][src]
pub struct LocalizedString<'a> { /* fields omitted */ }
Expand description
Represents a single localized string in a font.
Localized strings contain an identifier that describes the content of the string (such as family name, copyright notice, sample text, etc), a language that specifies the audience for which the string is intended and some encoded data containing the value of the string. A string with a particular identifier can appear multiple times in a font with various languages and encodings.
Implementations
Returns true if the encoding for the string is unicode.
Returns true if the string can be decoded.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for LocalizedString<'a>
impl<'a> Send for LocalizedString<'a>
impl<'a> Sync for LocalizedString<'a>
impl<'a> Unpin for LocalizedString<'a>
impl<'a> UnwindSafe for LocalizedString<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more