Struct allsorts_no_std::tables::svg::SVGDocumentRecord[][src]

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

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

impl<'a> ReadBinaryDep<'a> for SVGDocumentRecord<'a>[src]

type Args = ReadScope<'a>

type HostType = Self

impl<'a> ReadFixedSizeDep<'a> for SVGDocumentRecord<'a>[src]

impl<'a> TryFrom<&'_ SVGDocumentRecord<'a>> for BitmapGlyph[src]

type Error = ParseError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for SVGDocumentRecord<'a>

impl<'a> Send for SVGDocumentRecord<'a>

impl<'a> Sync for SVGDocumentRecord<'a>

impl<'a> Unpin for SVGDocumentRecord<'a>

impl<'a> UnwindSafe for SVGDocumentRecord<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.