pub enum FamilyNameSyntax {
Quoted,
Identifiers(String),
}Variants§
Quoted
The family name was specified in a quoted form, e.g. “Font Name” or ‘Font Name’.
Identifiers(String)
The family name was specified in an unquoted form as a sequence of identifiers.
The String is the serialization of the sequence of identifiers.
Trait Implementations§
Source§impl Clone for FamilyNameSyntax
impl Clone for FamilyNameSyntax
Source§fn clone(&self) -> FamilyNameSyntax
fn clone(&self) -> FamilyNameSyntax
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 FamilyNameSyntax
impl Debug for FamilyNameSyntax
Source§impl Hash for FamilyNameSyntax
impl Hash for FamilyNameSyntax
Source§impl Ord for FamilyNameSyntax
impl Ord for FamilyNameSyntax
Source§fn cmp(&self, other: &FamilyNameSyntax) -> Ordering
fn cmp(&self, other: &FamilyNameSyntax) -> 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 FamilyNameSyntax
impl PartialEq for FamilyNameSyntax
Source§impl PartialOrd for FamilyNameSyntax
impl PartialOrd for FamilyNameSyntax
impl Eq for FamilyNameSyntax
impl StructuralPartialEq for FamilyNameSyntax
Auto Trait Implementations§
impl Freeze for FamilyNameSyntax
impl RefUnwindSafe for FamilyNameSyntax
impl Send for FamilyNameSyntax
impl Sync for FamilyNameSyntax
impl Unpin for FamilyNameSyntax
impl UnwindSafe for FamilyNameSyntax
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