Struct fonttools::head::head[][src]

pub struct head {
Show fields pub majorVersion: uint16, pub minorVersion: uint16, pub fontRevision: f32, pub checksumAdjustment: uint32, pub magicNumber: uint32, pub flags: uint16, pub unitsPerEm: uint16, pub created: NaiveDateTime, pub modified: NaiveDateTime, pub xMin: int16, pub yMin: int16, pub xMax: int16, pub yMax: int16, pub macStyle: uint16, pub lowestRecPPEM: uint16, pub fontDirectionHint: int16, pub indexToLocFormat: int16, pub glyphDataFormat: int16,
}
Expand description

Low-level structure used for serializing/deserializing table

Fields

majorVersion: uint16minorVersion: uint16fontRevision: f32checksumAdjustment: uint32magicNumber: uint32flags: uint16unitsPerEm: uint16created: NaiveDateTimemodified: NaiveDateTimexMin: int16yMin: int16xMax: int16yMax: int16macStyle: uint16lowestRecPPEM: uint16fontDirectionHint: int16indexToLocFormat: int16glyphDataFormat: int16

Implementations

Create a new head table, given a float font revision, units-per-em value and the global glyph coordinate maxima/minima.

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

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

Casts the value.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.

Casts the value.

Casts the value.