read-fonts 0.39.1

Reading OpenType font files.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::ops::Range;

/// Return the minimum range of the table bytes
///
/// This trait is implemented in generated code, and we use this to get the
/// minimum length/bytes of a table.
pub trait MinByteRange<'a> {
    fn min_byte_range(&self) -> Range<usize>;
    fn min_table_bytes(&self) -> &'a [u8];
}