Struct owned_ttf_parser::kerx::Subtable
source · pub struct Subtable<'a> {
pub horizontal: bool,
pub variable: bool,
pub has_cross_stream: bool,
pub has_state_machine: bool,
pub tuple_count: u32,
pub format: Format<'a>,
}
Expand description
A kerning subtable.
Fields§
§horizontal: bool
Indicates that subtable is for horizontal text.
variable: bool
Indicates that subtable is variable.
has_cross_stream: bool
Indicates that subtable has a cross-stream values.
has_state_machine: bool
Indicates that subtable uses a state machine.
In this case glyphs_kerning()
will return None
.
tuple_count: u32
The tuple count.
This value is only used with variation fonts and should be 0 for all other fonts.
format: Format<'a>
Subtable format.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Subtable<'a>
impl<'a> Send for Subtable<'a>
impl<'a> Sync for Subtable<'a>
impl<'a> Unpin for Subtable<'a>
impl<'a> UnwindSafe for Subtable<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more