pub(crate) struct Encoding<'a> {
kind: EncodingKind<'a>,
supplemental: LazyArray16<'a, Supplement>,
}
Fields§
§kind: EncodingKind<'a>
§supplemental: LazyArray16<'a, Supplement>
Implementations§
source§impl Encoding<'_>
impl Encoding<'_>
pub fn new_standard() -> Self
pub fn new_expert() -> Self
pub fn code_to_gid(&self, charset: &Charset<'_>, code: u8) -> Option<GlyphId>
Trait Implementations§
impl<'a> Copy for Encoding<'a>
Auto Trait Implementations§
impl<'a> Freeze for Encoding<'a>
impl<'a> RefUnwindSafe for Encoding<'a>
impl<'a> Send for Encoding<'a>
impl<'a> Sync for Encoding<'a>
impl<'a> Unpin for Encoding<'a>
impl<'a> UnwindSafe for Encoding<'a>
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