Type Alias SVGDocumentList

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

Aliased Type§

pub struct SVGDocumentList<'a> {
    pub(crate) shape: SVGDocumentListMarker,
    pub(crate) data: FontData<'a>,
}

Fields§

§shape: SVGDocumentListMarker§data: FontData<'a>

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.