pub enum CustomCharset<'a> {
Format0(CharsetFormat0<'a>),
Format1(CharsetFormat1<'a>),
Format2(CharsetFormat2<'a>),
}
Expand description
Charset with custom glyph id to string id mappings.
Variants§
Implementations§
Source§impl<'a> CustomCharset<'a>
impl<'a> CustomCharset<'a>
Trait Implementations§
Source§impl<'a> Clone for CustomCharset<'a>
impl<'a> Clone for CustomCharset<'a>
Source§fn clone(&self) -> CustomCharset<'a>
fn clone(&self) -> CustomCharset<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> FontRead<'a> for CustomCharset<'a>
impl<'a> FontRead<'a> for CustomCharset<'a>
Source§impl MinByteRange for CustomCharset<'_>
impl MinByteRange for CustomCharset<'_>
Auto Trait Implementations§
impl<'a> Freeze for CustomCharset<'a>
impl<'a> RefUnwindSafe for CustomCharset<'a>
impl<'a> Send for CustomCharset<'a>
impl<'a> Sync for CustomCharset<'a>
impl<'a> Unpin for CustomCharset<'a>
impl<'a> UnwindSafe for CustomCharset<'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