Enum printpdf::BuiltinFont
source · pub enum BuiltinFont {
Show 14 variants
TimesRoman,
TimesBold,
TimesItalic,
TimesBoldItalic,
Helvetica,
HelveticaBold,
HelveticaOblique,
HelveticaBoldOblique,
Courier,
CourierOblique,
CourierBold,
CourierBoldOblique,
Symbol,
ZapfDingbats,
}
Expand description
Standard built-in PDF fonts
Variants§
TimesRoman
TimesBold
TimesItalic
TimesBoldItalic
Helvetica
HelveticaBold
HelveticaOblique
HelveticaBoldOblique
Courier
CourierOblique
CourierBold
CourierBoldOblique
Symbol
ZapfDingbats
Trait Implementations§
source§impl Clone for BuiltinFont
impl Clone for BuiltinFont
source§fn clone(&self) -> BuiltinFont
fn clone(&self) -> BuiltinFont
Returns a copy 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 From<BuiltinFont> for &'static str
impl From<BuiltinFont> for &'static str
source§fn from(val: BuiltinFont) -> Self
fn from(val: BuiltinFont) -> Self
Converts to this type from the input type.
source§impl From<BuiltinFont> for Dictionary
impl From<BuiltinFont> for Dictionary
source§fn from(val: BuiltinFont) -> Self
fn from(val: BuiltinFont) -> Self
Converts to this type from the input type.
source§impl PartialEq for BuiltinFont
impl PartialEq for BuiltinFont
source§fn eq(&self, other: &BuiltinFont) -> bool
fn eq(&self, other: &BuiltinFont) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BuiltinFont
impl Eq for BuiltinFont
impl StructuralEq for BuiltinFont
impl StructuralPartialEq for BuiltinFont
Auto Trait Implementations§
impl RefUnwindSafe for BuiltinFont
impl Send for BuiltinFont
impl Sync for BuiltinFont
impl Unpin 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