pub struct PreparedFontContainer { /* private fields */ }Expand description
Read-only original/derived identity. Construction requires bounded normalization.
Implementations§
Source§impl PreparedFontContainer
impl PreparedFontContainer
pub fn source_sha256(&self) -> &str
pub fn sfnt_sha256(&self) -> &str
pub fn sfnt_bytes(&self) -> &[u8] ⓘ
pub fn into_sfnt_bytes(self) -> Vec<u8> ⓘ
pub fn source_container(&self) -> &str
pub fn normalization_engine(&self) -> &str
pub fn sfnt_media_type(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreparedFontContainer
impl RefUnwindSafe for PreparedFontContainer
impl Send for PreparedFontContainer
impl Sync for PreparedFontContainer
impl Unpin for PreparedFontContainer
impl UnsafeUnpin for PreparedFontContainer
impl UnwindSafe for PreparedFontContainer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more