pub struct Subtable<'a> { /* private fields */ }
Expand description
A kerning subtable.
Implementations§
Source§impl<'a> Subtable<'a>
impl<'a> Subtable<'a>
Sourcepub fn is_horizontal(&self) -> bool
pub fn is_horizontal(&self) -> bool
Checks that subtable is for horizontal text.
Sourcepub fn is_variable(&self) -> bool
pub fn is_variable(&self) -> bool
Checks that subtable is variable.
Sourcepub fn has_cross_stream(&self) -> bool
pub fn has_cross_stream(&self) -> bool
Checks that subtable has a cross-stream values.
Sourcepub fn has_state_machine(&self) -> bool
pub fn has_state_machine(&self) -> bool
Checks that subtable uses a state machine.
In this case glyphs_kerning()
will return None
.
Trait Implementations§
impl<'a> Copy for Subtable<'a>
Auto Trait Implementations§
impl<'a> Freeze for Subtable<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)