pub type Hdmx<'a> = TableRef<'a, HdmxMarker>;
Expand description
The Horizontal Device Metrics table.
Aliased Type§
struct Hdmx<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Hdmx<'a>
impl<'a> Hdmx<'a>
Sourcepub fn num_records(&self) -> u16
pub fn num_records(&self) -> u16
Number of device records.
Sourcepub fn size_device_record(&self) -> u32
pub fn size_device_record(&self) -> u32
Size of device record, 32-bit aligned.
Sourcepub fn records(&self) -> ComputedArray<'a, DeviceRecord<'a>>
pub fn records(&self) -> ComputedArray<'a, DeviceRecord<'a>>
Array of device records.
Source§impl<'a> Hdmx<'a>
impl<'a> Hdmx<'a>
Sourcepub fn record_for_size(&self, size: u8) -> Option<DeviceRecord<'a>>
pub fn record_for_size(&self, size: u8) -> Option<DeviceRecord<'a>>
Returns for the device record that exactly matches the given size (as ppem).