pub struct SVGDocumentRecord<'a> {
    pub start_glyph_id: u16,
    pub end_glyph_id: u16,
    pub svg_document: &'a [u8],
}
Expand description

One SVG record holding a glyph range and SVGDocumentRecord.

Fields

start_glyph_id: u16

The starting glyph id.

end_glyph_id: u16

The end glyph id.

Can be the same as start_glyph_id.

svg_document: &'a [u8]

The SVG document data. Possibly compressed.

If the data is compressed it will begin with 0x1F, 0x8B, 0x08, which is a gzip member header indicating “deflate” as the compression method. See section 2.3.1 of https://www.ietf.org/rfc/rfc1952.txt

Trait Implementations

The number of bytes consumed by ReadBinaryDep::read.
The type returned in the event of a conversion error.
Performs the conversion.

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 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.