pub enum ProductionName {
Bmp(u32),
NonBmp(u32),
Custom(SmolStr),
}Expand description
Production name of a glyph.
Per khaled the overwhelming majority follow simple patterns.
See also https://github.com/adobe-type-tools/agl-specification?tab=readme-ov-file#2-the-mapping
Variants§
Trait Implementations§
Source§impl Clone for ProductionName
impl Clone for ProductionName
Source§fn clone(&self) -> ProductionName
fn clone(&self) -> ProductionName
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 moreSource§impl Debug for ProductionName
impl Debug for ProductionName
Source§impl Display for ProductionName
impl Display for ProductionName
Source§impl From<&str> for ProductionName
impl From<&str> for ProductionName
Source§fn from(v: &str) -> ProductionName
fn from(v: &str) -> ProductionName
Converts to this type from the input type.
Source§impl From<ProductionName> for SmolStr
impl From<ProductionName> for SmolStr
Source§fn from(v: ProductionName) -> SmolStr
fn from(v: ProductionName) -> SmolStr
Converts to this type from the input type.
Source§impl From<u32> for ProductionName
impl From<u32> for ProductionName
Source§fn from(v: u32) -> ProductionName
fn from(v: u32) -> ProductionName
Converts to this type from the input type.
Source§impl Hash for ProductionName
impl Hash for ProductionName
Source§impl Ord for ProductionName
impl Ord for ProductionName
Source§fn cmp(&self, other: &ProductionName) -> Ordering
fn cmp(&self, other: &ProductionName) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProductionName
impl PartialEq for ProductionName
Source§impl PartialOrd for ProductionName
impl PartialOrd for ProductionName
impl Eq for ProductionName
impl StructuralPartialEq for ProductionName
Auto Trait Implementations§
impl Freeze for ProductionName
impl RefUnwindSafe for ProductionName
impl Send for ProductionName
impl Sync for ProductionName
impl Unpin for ProductionName
impl UnwindSafe for ProductionName
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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.