Enum bdf::Entry [] [src]

pub enum Entry {
    StartFont(String),
    Comment(String),
    ContentVersion(String),
    Font(String),
    Size(u16u16u16),
    Chars(usize),
    FontBoundingBox(BoundingBox),
    EndFont,
    StartProperties(usize),
    Property(StringProperty),
    EndProperties,
    StartChar(String),
    Encoding(char),
    Direction(Direction),
    ScalableWidth(u32u32),
    DeviceWidth(u32u32),
    AlternateScalableWidth(u32u32),
    AlternateDeviceWidth(u32u32),
    Vector(u32u32),
    BoundingBox(BoundingBox),
    Bitmap(Bitmap),
    EndChar,
    Unknown(String),
}

The possible entries in BDF.

Variants

STARTFONT marks the beginning of the font declaration and contains the BDF version.

COMMENT contains the comment body.

CONTENTVERSION contains the font version.

FONT contains the font name.

SIZE contains the pt size, X-axis DPI and Y-axis DPI.

CHARS contains the number of characters stored.

FONTBOUNDINGBOX contains the default bounding box.

ENDFONT marks the end of the font declaration.

STARTPROPERTIES marks the beginning of the property declarations and contains the number of properties.

Contains the name and value of a property.

ENDPROPERTIES marks the end of the property declarations.

STARTCHAR marks the beginning of the character declaration and contains the name of the character.

ENCODING contains the codepoint for the glyph.

METRICSSET contains the direction for the glyph.

SWIDTH contains the scalable width (x, y) of the glyph.

DWIDTH contains the device width (x, y) of the glyph.

SWIDTH1 contains the alternate scalable width (x, y) of the glyph.

DWIDTH1 contains the alternate device width (x, y) of the glyph.

VVECTOR contains the vector offset for the glyph.

BBX contains the bounds for the glyph.

BITMAP contains the bits of the glyph.

ENDCHAR marks the end of the character declaration.

Contains the unknown id.

Trait Implementations

impl PartialEq for Entry
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Entry
[src]

impl Clone for Entry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Entry
[src]

Formats the value using the given formatter.