Type Alias read_fonts::tables::cbdt::Cbdt

source ·
pub type Cbdt<'a> = TableRef<'a, CbdtMarker>;
Expand description

Aliased Type§

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

Implementations§

source§

impl<'a> Cbdt<'a>

source

pub fn major_version(&self) -> u16

Major version of the CBDT table, = 3.

source

pub fn minor_version(&self) -> u16

Minor version of CBDT table, = 0.

source§

impl<'a> Cbdt<'a>

source

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

Trait Implementations§

source§

impl<'a> Debug for Cbdt<'a>

source§

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

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

impl<'a> FontRead<'a> for Cbdt<'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 Cbdt<'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 Cbdt<'_>

source§

const TAG: Tag = _

CBDT