read_fonts::tables::svg

Type Alias SVGDocumentList

source
pub type SVGDocumentList<'a> = TableRef<'a, SVGDocumentListMarker>;
Expand description

Aliased Type§

struct SVGDocumentList<'a> { /* private fields */ }

Implementations§

source§

impl<'a> SVGDocumentList<'a>

source

pub fn num_entries(&self) -> u16

Number of SVGDocumentRecords. Must be non-zero.

source

pub fn document_records(&self) -> &'a [SVGDocumentRecord]

Array of SVGDocumentRecords.

Trait Implementations§

source§

impl<'a> Debug for SVGDocumentList<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> FontRead<'a> for SVGDocumentList<'a>

source§

fn read(data: FontData<'a>) -> Result<Self, ReadError>

Read an instance of Self from the provided data, performing validation. Read more
source§

impl<'a> SomeTable<'a> for SVGDocumentList<'a>

source§

fn type_name(&self) -> &str

The name of this table
source§

fn get_field(&self, idx: usize) -> Option<Field<'a>>

Access this table’s fields, in declaration order.