pub struct FcFontMetadata {Show 17 fields
pub copyright: Option<String>,
pub designer: Option<String>,
pub designer_url: Option<String>,
pub font_family: Option<String>,
pub font_subfamily: Option<String>,
pub full_name: Option<String>,
pub id_description: Option<String>,
pub license: Option<String>,
pub license_url: Option<String>,
pub manufacturer: Option<String>,
pub manufacturer_url: Option<String>,
pub postscript_name: Option<String>,
pub preferred_family: Option<String>,
pub preferred_subfamily: Option<String>,
pub trademark: Option<String>,
pub unique_id: Option<String>,
pub version: Option<String>,
}Expand description
Font metadata from the OS/2 table
Fields§
§copyright: Option<String>§designer: Option<String>§designer_url: Option<String>§font_family: Option<String>§font_subfamily: Option<String>§full_name: Option<String>§id_description: Option<String>§license: Option<String>§license_url: Option<String>§manufacturer: Option<String>§manufacturer_url: Option<String>§postscript_name: Option<String>§preferred_family: Option<String>§preferred_subfamily: Option<String>§trademark: Option<String>§unique_id: Option<String>§version: Option<String>Trait Implementations§
Source§impl Clone for FcFontMetadata
impl Clone for FcFontMetadata
Source§fn clone(&self) -> FcFontMetadata
fn clone(&self) -> FcFontMetadata
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 FcFontMetadata
impl Debug for FcFontMetadata
Source§impl Default for FcFontMetadata
impl Default for FcFontMetadata
Source§fn default() -> FcFontMetadata
fn default() -> FcFontMetadata
Returns the “default value” for a type. Read more
Source§impl Ord for FcFontMetadata
impl Ord for FcFontMetadata
Source§fn cmp(&self, other: &FcFontMetadata) -> Ordering
fn cmp(&self, other: &FcFontMetadata) -> 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 FcFontMetadata
impl PartialEq for FcFontMetadata
Source§impl PartialOrd for FcFontMetadata
impl PartialOrd for FcFontMetadata
impl Eq for FcFontMetadata
impl StructuralPartialEq for FcFontMetadata
Auto Trait Implementations§
impl Freeze for FcFontMetadata
impl RefUnwindSafe for FcFontMetadata
impl Send for FcFontMetadata
impl Sync for FcFontMetadata
impl Unpin for FcFontMetadata
impl UnwindSafe for FcFontMetadata
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more