pub enum GlyphOrClass {
Glyph(GlyphName),
Cid(Cid),
NamedClass(GlyphClassName),
Class(GlyphClassLiteral),
Null(Null),
}
Variants§
Trait Implementations§
Source§impl AstNode for GlyphOrClass
impl AstNode for GlyphOrClass
Source§impl Clone for GlyphOrClass
impl Clone for GlyphOrClass
Source§fn clone(&self) -> GlyphOrClass
fn clone(&self) -> GlyphOrClass
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for GlyphOrClass
impl RefUnwindSafe for GlyphOrClass
impl Send for GlyphOrClass
impl Sync for GlyphOrClass
impl Unpin for GlyphOrClass
impl UnwindSafe for GlyphOrClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T
, using the provided data to resolve any offsets.