read_fonts::tables::ebdt

Type Alias Ebdt

source
pub type Ebdt<'a> = TableRef<'a, EbdtMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> Ebdt<'a>

source

pub fn major_version(&self) -> u16

Major version of the EBDT table, = 2.

source

pub fn minor_version(&self) -> u16

Minor version of EBDT table, = 0.

source§

impl<'a> Ebdt<'a>

source

pub fn data( &self, location: &BitmapLocation, ) -> Result<BitmapData<'a>, ReadError>

Trait Implementations§

source§

impl<'a> Debug for Ebdt<'a>

source§

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

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

impl<'a> FontRead<'a> for Ebdt<'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 Ebdt<'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.
source§

impl TopLevelTable for Ebdt<'_>

source§

const TAG: Tag = _

EBDT