pub enum BuiltinFont {
Show 14 variants
Helvetica,
HelveticaBold,
HelveticaOblique,
HelveticaBoldOblique,
TimesRoman,
TimesBold,
TimesItalic,
TimesBoldItalic,
Courier,
CourierBold,
CourierOblique,
CourierBoldOblique,
Symbol,
ZapfDingbats,
}Expand description
The 14 standard PDF Type1 builtin fonts.
These fonts are guaranteed to be available in all PDF readers without embedding.
Variants§
Helvetica
Helvetica (sans-serif)
HelveticaBold
Helvetica Bold
HelveticaOblique
Helvetica Oblique
HelveticaBoldOblique
Helvetica Bold Oblique
TimesRoman
Times Roman (serif)
TimesBold
Times Bold
TimesItalic
Times Italic
TimesBoldItalic
Times Bold Italic
Courier
Courier (monospace)
CourierBold
Courier Bold
CourierOblique
Courier Oblique
CourierBoldOblique
Courier Bold Oblique
Symbol
Symbol font
ZapfDingbats
Zapf Dingbats font
Trait Implementations§
Source§impl Clone for BuiltinFont
impl Clone for BuiltinFont
Source§fn clone(&self) -> BuiltinFont
fn clone(&self) -> BuiltinFont
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 BuiltinFont
impl Debug for BuiltinFont
Source§impl Hash for BuiltinFont
impl Hash for BuiltinFont
Source§impl PartialEq for BuiltinFont
impl PartialEq for BuiltinFont
impl Copy for BuiltinFont
impl Eq for BuiltinFont
impl StructuralPartialEq for BuiltinFont
Auto Trait Implementations§
impl Freeze for BuiltinFont
impl RefUnwindSafe for BuiltinFont
impl Send for BuiltinFont
impl Sync for BuiltinFont
impl Unpin for BuiltinFont
impl UnsafeUnpin for BuiltinFont
impl UnwindSafe for BuiltinFont
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