pub struct TtfFormatOptions {
pub copyright: Option<String>,
pub description: Option<String>,
pub ts: Option<i64>,
pub url: Option<String>,
pub version: Option<String>,
}Expand description
TTF-format–specific options. Populates fields in the generated TTF name
and head tables.
Fields§
§copyright: Option<String>Copyright string written to the TTF name table (record id 0).
description: Option<String>Description string written to the TTF name table (record id 10).
ts: Option<i64>Unix timestamp in seconds used for the created and modified fields
in the TTF head table. Pin to a fixed value to produce byte-stable
reproducible builds.
url: Option<String>Manufacturer URL written to the TTF name table (record id 11).
version: Option<String>Version string written to the TTF name table (record id 5).
Trait Implementations§
Source§impl Clone for TtfFormatOptions
impl Clone for TtfFormatOptions
Source§fn clone(&self) -> TtfFormatOptions
fn clone(&self) -> TtfFormatOptions
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 TtfFormatOptions
impl RefUnwindSafe for TtfFormatOptions
impl Send for TtfFormatOptions
impl Sync for TtfFormatOptions
impl Unpin for TtfFormatOptions
impl UnsafeUnpin for TtfFormatOptions
impl UnwindSafe for TtfFormatOptions
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
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.