Enum truetype::char_mapping::Encoding
source · pub enum Encoding {
Format0(Encoding0),
Format4(Encoding4),
Format6(Encoding6),
Format12(Encoding12),
Format14(Encoding14),
Unknown(u16),
}
Expand description
An encoding of a char-to-glyph mapping.
Variants
Format0(Encoding0)
Format 0.
Format4(Encoding4)
Format 4.
Format6(Encoding6)
Format 6.
Format12(Encoding12)
Format 12.
Format14(Encoding14)
Format 14.
Unknown(u16)
An unknown format.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more