pub enum Property {
Show 49 variants Family(Expression), FamilyLang(Expression), Style(Expression), StyleLang(Expression), FullName(Expression), FullNameLang(Expression), Slant(Expression), Weight(Expression), Size(Expression), Width(Expression), Aspect(Expression), PixelSize(Expression), Spacing(Expression), Foundry(Expression), Antialias(Expression), Hinting(Expression), HintStyle(Expression), VerticalLayout(Expression), AutoHint(Expression), GlobalAdvance(Expression), File(Expression), Index(Expression), Rasterizer(Expression), Outline(Expression), Scalable(Expression), Color(Expression), Scale(Expression), Dpi(Expression), Rgba(Expression), Lcdfilter(Expression), Minspace(Expression), Charset(Expression), Lang(Expression), Fontversion(Expression), Capability(Expression), Fontformat(Expression), Embolden(Expression), Embeddedbitmap(Expression), Decorative(Expression), Fontfeatures(Expression), Namelang(Expression), Prgname(Expression), Postscriptname(Expression), Fonthashint(Expression), Order(Expression), Matrix(Expression), PixelSizeFixupFactor(Expression), ScalingNotNeeded(Expression), Dynamic(StringExpression),
}

Variants

Family(Expression)

Font family names

FamilyLang(Expression)

Languages corresponding to each family

Style(Expression)

Font style. Overrides weight and slant

StyleLang(Expression)

Languages corresponding to each style

FullName(Expression)

Font full names (often includes style)

FullNameLang(Expression)

Languages corresponding to each fullname

Slant(Expression)

Italic, oblique or roman

Weight(Expression)

Light, medium, demibold, bold or black

Size(Expression)

Point size

Width(Expression)

Condensed, normal or expanded

Aspect(Expression)

Stretches glyphs horizontally before hinting

PixelSize(Expression)

Pixel size

Spacing(Expression)

Proportional, dual-width, monospace or charcell

Foundry(Expression)

Font foundry name

Antialias(Expression)

Whether glyphs can be antialiased

Hinting(Expression)

Whether the rasterizer should use hinting

HintStyle(Expression)

Automatic hinting style

VerticalLayout(Expression)

Automatic hinting style

AutoHint(Expression)

Use autohinter instead of normal hinter

GlobalAdvance(Expression)

Use font global advance data (deprecated)

File(Expression)

The filename holding the font

Index(Expression)

The index of the font within the file

Rasterizer(Expression)

Which rasterizer is in use (deprecated)

Outline(Expression)

Whether the glyphs are outlines

Scalable(Expression)

Whether glyphs can be scaled

Color(Expression)

Whether any glyphs have color

Scale(Expression)

Scale factor for point->pixel conversions (deprecated)

Dpi(Expression)

Target dots per inch

Rgba(Expression)

unknown, rgb, bgr, vrgb, vbgr, none - subpixel geometry

Lcdfilter(Expression)

Type of LCD filter

Minspace(Expression)

Eliminate leading from line spacing

Charset(Expression)

Unicode chars encoded by the font

Lang(Expression)

List of RFC-3066-style languages this font supports

Fontversion(Expression)

Version number of the font

Capability(Expression)

List of layout capabilities in the font

Fontformat(Expression)

String name of the font format

Embolden(Expression)

Rasterizer should synthetically embolden the font

Embeddedbitmap(Expression)

Use the embedded bitmap instead of the outline

Decorative(Expression)

Whether the style is a decorative variant

Fontfeatures(Expression)

List of the feature tags in OpenType to be enabled

Namelang(Expression)

Language name to be used for the default value of familylang, stylelang, and fullnamelang

Prgname(Expression)

String Name of the running program

Postscriptname(Expression)

Font family name in PostScript

Fonthashint(Expression)

Whether the font has hinting

Order(Expression)

Order number of the font

Matrix(Expression)

PixelSizeFixupFactor(Expression)

ScalingNotNeeded(Expression)

Dynamic(StringExpression)

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.